From: Mark Brown Date: Thu, 23 Sep 2010 14:28:14 +0000 (+0100) Subject: ASoC: Clean up the CODEC device as well as the board for SMDK WM9713 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97daff36f207c62df250092863f2af7e62b0e389;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ASoC: Clean up the CODEC device as well as the board for SMDK WM9713 Otherwise we try to re-register the CODEC device if the module is reloaded and sysfs becomes miserable. Signed-off-by: Mark Brown Acked-by: Jassi Brar Acked-by: Liam Girdwood --- diff --git a/sound/soc/s3c24xx/smdk_wm9713.c b/sound/soc/s3c24xx/smdk_wm9713.c index 78a4a30bad9e..33ba8fdbcf07 100644 --- a/sound/soc/s3c24xx/smdk_wm9713.c +++ b/sound/soc/s3c24xx/smdk_wm9713.c @@ -95,6 +95,7 @@ err: static void __exit smdk_exit(void) { platform_device_unregister(smdk_snd_ac97_device); + platform_device_unregister(smdk_snd_wm9713_device); } module_init(smdk_init);