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

ALSA: sh: aica: 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: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Sachin Kamat and committed by
Takashi Iwai
2bc594a2 464ede3c

-1
-1
sound/sh/aica.c
··· 598 598 return -ENODEV; 599 599 snd_card_free(dreamcastcard->card); 600 600 kfree(dreamcastcard); 601 - platform_set_drvdata(devptr, NULL); 602 601 return 0; 603 602 } 604 603