diff options
Diffstat (limited to 'sound/soc/codecs/dfbmcs320.c')
-rw-r--r-- | sound/soc/codecs/dfbmcs320.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/dfbmcs320.c b/sound/soc/codecs/dfbmcs320.c index 704bbde65737..bfe46aa90362 100644 --- a/sound/soc/codecs/dfbmcs320.c +++ b/sound/soc/codecs/dfbmcs320.c | |||
@@ -55,17 +55,7 @@ static struct platform_driver dfmcs320_driver = { | |||
55 | .remove = __devexit_p(dfbmcs320_remove), | 55 | .remove = __devexit_p(dfbmcs320_remove), |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static int __init dfbmcs320_init(void) | 58 | module_platform_driver(dfmcs320_driver); |
59 | { | ||
60 | return platform_driver_register(&dfmcs320_driver); | ||
61 | } | ||
62 | module_init(dfbmcs320_init); | ||
63 | |||
64 | static void __exit dfbmcs320_exit(void) | ||
65 | { | ||
66 | platform_driver_unregister(&dfmcs320_driver); | ||
67 | } | ||
68 | module_exit(dfbmcs320_exit); | ||
69 | 59 | ||
70 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); | 60 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); |
71 | MODULE_DESCRIPTION("ASoC DFBM-CS320 bluethooth module driver"); | 61 | MODULE_DESCRIPTION("ASoC DFBM-CS320 bluethooth module driver"); |