diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-03 12:26:28 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-03 11:40:23 +0200 |
commit | 9ea6cfbc2a31b87189a99fa8311c7d8d449f6a32 (patch) | |
tree | eea1dfc2fde471c2291ea5d4dd6813d1960d6fa9 /sound/atmel/abdac.c | |
parent | f91eeeb59583087722dc0699ac8aaf4b6af4a77f (diff) | |
download | linux-9ea6cfbc2a31b87189a99fa8311c7d8d449f6a32.tar.bz2 |
ALSA: atmel: Remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/atmel/abdac.c')
-rw-r--r-- | sound/atmel/abdac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index 071ce1b5f2b4..872d59e35ee2 100644 --- a/sound/atmel/abdac.c +++ b/sound/atmel/abdac.c @@ -583,8 +583,6 @@ static int atmel_abdac_remove(struct platform_device *pdev) free_irq(dac->irq, dac); snd_card_free(card); - platform_set_drvdata(pdev, NULL); - return 0; } |