diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 08:38:39 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 12:35:40 (GMT) |
commit | a4302ede92d143dd6c0f3dfbe25bcce852249e61 (patch) | |
tree | f0dbe297461fc910e3e82e84eb68abb3aa79706c /sound/drivers/pcsp | |
parent | a204341dae68bee125f4e7f22c5640cb4e3aae16 (diff) | |
download | linux-fsl-qoriq-a4302ede92d143dd6c0f3dfbe25bcce852249e61.tar.xz |
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/pcsp')
-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 7a5fdb9..1c19cd7 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) struct snd_pcsp *chip = platform_get_drvdata(dev); alsa_card_pcsp_exit(chip); pcspkr_input_remove(chip->input_dev); - platform_set_drvdata(dev, NULL); return 0; } |