diff options
Diffstat (limited to 'sound/soc/codecs/pcm3008.c')
-rw-r--r-- | sound/soc/codecs/pcm3008.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/codecs/pcm3008.c b/sound/soc/codecs/pcm3008.c index f7316519432c..b12d01f67990 100644 --- a/sound/soc/codecs/pcm3008.c +++ b/sound/soc/codecs/pcm3008.c | |||
@@ -172,17 +172,7 @@ static struct platform_driver pcm3008_codec_driver = { | |||
172 | }, | 172 | }, |
173 | }; | 173 | }; |
174 | 174 | ||
175 | static int __init pcm3008_modinit(void) | 175 | module_platform_driver(pcm3008_codec_driver); |
176 | { | ||
177 | return platform_driver_register(&pcm3008_codec_driver); | ||
178 | } | ||
179 | module_init(pcm3008_modinit); | ||
180 | |||
181 | static void __exit pcm3008_exit(void) | ||
182 | { | ||
183 | platform_driver_unregister(&pcm3008_codec_driver); | ||
184 | } | ||
185 | module_exit(pcm3008_exit); | ||
186 | 176 | ||
187 | MODULE_DESCRIPTION("Soc PCM3008 driver"); | 177 | MODULE_DESCRIPTION("Soc PCM3008 driver"); |
188 | MODULE_AUTHOR("Hugo Villeneuve"); | 178 | MODULE_AUTHOR("Hugo Villeneuve"); |