diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 04:38:39 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 08:35:40 -0400 |
commit | a4302ede92d143dd6c0f3dfbe25bcce852249e61 (patch) | |
tree | f0dbe297461fc910e3e82e84eb68abb3aa79706c /sound/drivers | |
parent | a204341dae68bee125f4e7f22c5640cb4e3aae16 (diff) |
ALSA: pcsp: 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: Stas Sergeev <stsp@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/pcsp/pcsp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp.c b/sound/drivers/pcsp/pcsp.c index 7a5fdb9b0afc..1c19cd7ad26e 100644 --- a/sound/drivers/pcsp/pcsp.c +++ b/sound/drivers/pcsp/pcsp.c | |||
@@ -189,7 +189,6 @@ static int pcsp_remove(struct platform_device *dev) | |||
189 | struct snd_pcsp *chip = platform_get_drvdata(dev); | 189 | struct snd_pcsp *chip = platform_get_drvdata(dev); |
190 | alsa_card_pcsp_exit(chip); | 190 | alsa_card_pcsp_exit(chip); |
191 | pcspkr_input_remove(chip->input_dev); | 191 | pcspkr_input_remove(chip->input_dev); |
192 | platform_set_drvdata(dev, NULL); | ||
193 | return 0; | 192 | return 0; |
194 | } | 193 | } |
195 | 194 | ||