summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-20 14:08:42 +0530
committerTakashi Iwai <tiwai@suse.de>2013-05-23 14:35:58 +0200
commit464ede3ce59ba6144ff117ffa6427cac77fc6807 (patch)
tree83c8fa9872847aa3bd4b2aa299498ff43544b291
parent50c7d0da64e031c072fdc51b30d05c98761e3ebc (diff)
downloadop-kernel-dev-464ede3ce59ba6144ff117ffa6427cac77fc6807.zip
op-kernel-dev-464ede3ce59ba6144ff117ffa6427cac77fc6807.tar.gz
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>
-rw-r--r--sound/ppc/powermac.c1
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;
}
OpenPOWER on IntegriCloud