Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: pxa2xx-ac97: 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: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Sachin Kamat and committed by
Takashi Iwai
54d672e9 e44007e0

-1
-1
sound/arm/pxa2xx-ac97.c
··· 230 230 231 231 if (card) { 232 232 snd_card_free(card); 233 - platform_set_drvdata(dev, NULL); 234 233 pxa2xx_ac97_hw_remove(dev); 235 234 } 236 235