diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 14:08:42 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 14:35:58 +0200 |
commit | 464ede3ce59ba6144ff117ffa6427cac77fc6807 (patch) | |
tree | 83c8fa9872847aa3bd4b2aa299498ff43544b291 /sound/ppc | |
parent | 50c7d0da64e031c072fdc51b30d05c98761e3ebc (diff) | |
download | kernel_goldelico_gta04-464ede3ce59ba6144ff117ffa6427cac77fc6807.zip kernel_goldelico_gta04-464ede3ce59ba6144ff117ffa6427cac77fc6807.tar.gz kernel_goldelico_gta04-464ede3ce59ba6144ff117ffa6427cac77fc6807.tar.bz2 |
ALSA: powermac: 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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc')
-rw-r--r-- | sound/ppc/powermac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/ppc/powermac.c b/sound/ppc/powermac.c index 09fc848..8abb521 100644 --- a/sound/ppc/powermac.c +++ b/sound/ppc/powermac.c @@ -139,7 +139,6 @@ __error: static int snd_pmac_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); return 0; } |