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

ALSA: ml403-ac97cr: 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>

authored by

Sachin Kamat and committed by
Takashi Iwai
186c1821 5ed5824b

-1
-1
sound/drivers/ml403-ac97cr.c
··· 1325 1325 static int snd_ml403_ac97cr_remove(struct platform_device *pfdev) 1326 1326 { 1327 1327 snd_card_free(platform_get_drvdata(pfdev)); 1328 - platform_set_drvdata(pfdev, NULL); 1329 1328 return 0; 1330 1329 } 1331 1330