diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 10:01:35 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-06 10:45:54 +0200 |
commit | 5a4ca9b3fa24f81298c13a27c03c6dd4087ca159 (patch) | |
tree | 5e949a0799a0f87d3b6916367a252884299af817 /sound/mips | |
parent | ALSA: mips/hal2: Remove redundant platform_set_drvdata() (diff) | |
download | linux-5a4ca9b3fa24f81298c13a27c03c6dd4087ca159.tar.xz linux-5a4ca9b3fa24f81298c13a27c03c6dd4087ca159.zip |
ALSA: mips/sgio2audio: 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>
Cc: Vivien Chappelier <vivien.chappelier@linux-mips.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips')
-rw-r--r-- | sound/mips/sgio2audio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c index 01a03efdc8b0..cfe99ae149fe 100644 --- a/sound/mips/sgio2audio.c +++ b/sound/mips/sgio2audio.c @@ -963,7 +963,6 @@ static int snd_sgio2audio_remove(struct platform_device *pdev) struct snd_card *card = platform_get_drvdata(pdev); snd_card_free(card); - platform_set_drvdata(pdev, NULL); return 0; } |