diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 14:08:39 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 14:35:40 +0200 |
commit | a4302ede92d143dd6c0f3dfbe25bcce852249e61 (patch) | |
tree | f0dbe297461fc910e3e82e84eb68abb3aa79706c | |
parent | a204341dae68bee125f4e7f22c5640cb4e3aae16 (diff) | |
download | op-kernel-dev-a4302ede92d143dd6c0f3dfbe25bcce852249e61.zip op-kernel-dev-a4302ede92d143dd6c0f3dfbe25bcce852249e61.tar.gz |
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>
-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; } |