diff options
Diffstat (limited to 'sound/soc/codecs/ads117x.c')
-rw-r--r-- | sound/soc/codecs/ads117x.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/ads117x.c b/sound/soc/codecs/ads117x.c index 9082e0f729f3..8103b938b8c0 100644 --- a/sound/soc/codecs/ads117x.c +++ b/sound/soc/codecs/ads117x.c | |||
@@ -58,17 +58,7 @@ static struct platform_driver ads117x_codec_driver = { | |||
58 | .remove = __devexit_p(ads117x_remove), | 58 | .remove = __devexit_p(ads117x_remove), |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static int __init ads117x_init(void) | 61 | module_platform_driver(ads117x_codec_driver); |
62 | { | ||
63 | return platform_driver_register(&ads117x_codec_driver); | ||
64 | } | ||
65 | module_init(ads117x_init); | ||
66 | |||
67 | static void __exit ads117x_exit(void) | ||
68 | { | ||
69 | platform_driver_unregister(&ads117x_codec_driver); | ||
70 | } | ||
71 | module_exit(ads117x_exit); | ||
72 | 62 | ||
73 | MODULE_DESCRIPTION("ASoC ads117x driver"); | 63 | MODULE_DESCRIPTION("ASoC ads117x driver"); |
74 | MODULE_AUTHOR("Graeme Gregory"); | 64 | MODULE_AUTHOR("Graeme Gregory"); |