diff options
-rw-r--r-- | sound/soc/blackfin/bf5xx-ac97-pcm.c | 12 | ||||
-rw-r--r-- | sound/soc/blackfin/bf5xx-ac97.c | 13 | ||||
-rw-r--r-- | sound/soc/blackfin/bf5xx-i2s-pcm.c | 12 | ||||
-rw-r--r-- | sound/soc/blackfin/bf5xx-i2s.c | 13 | ||||
-rw-r--r-- | sound/soc/blackfin/bf5xx-tdm-pcm.c | 12 | ||||
-rw-r--r-- | sound/soc/blackfin/bf5xx-tdm.c | 12 | ||||
-rw-r--r-- | sound/soc/blackfin/bfin-eval-adau1373.c | 12 | ||||
-rw-r--r-- | sound/soc/blackfin/bfin-eval-adau1701.c | 12 | ||||
-rw-r--r-- | sound/soc/blackfin/bfin-eval-adav80x.c | 12 |
9 files changed, 9 insertions, 101 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.c b/sound/soc/blackfin/bf5xx-ac97-pcm.c index 56815c1d47b3..fcff58390848 100644 --- a/sound/soc/blackfin/bf5xx-ac97-pcm.c +++ b/sound/soc/blackfin/bf5xx-ac97-pcm.c | |||
@@ -475,17 +475,7 @@ static struct platform_driver bf5xx_pcm_driver = { | |||
475 | .remove = __devexit_p(bf5xx_soc_platform_remove), | 475 | .remove = __devexit_p(bf5xx_soc_platform_remove), |
476 | }; | 476 | }; |
477 | 477 | ||
478 | static int __init snd_bf5xx_pcm_init(void) | 478 | module_platform_driver(bf5xx_pcm_driver); |
479 | { | ||
480 | return platform_driver_register(&bf5xx_pcm_driver); | ||
481 | } | ||
482 | module_init(snd_bf5xx_pcm_init); | ||
483 | |||
484 | static void __exit snd_bf5xx_pcm_exit(void) | ||
485 | { | ||
486 | platform_driver_unregister(&bf5xx_pcm_driver); | ||
487 | } | ||
488 | module_exit(snd_bf5xx_pcm_exit); | ||
489 | 479 | ||
490 | MODULE_AUTHOR("Cliff Cai"); | 480 | MODULE_AUTHOR("Cliff Cai"); |
491 | MODULE_DESCRIPTION("ADI Blackfin AC97 PCM DMA module"); | 481 | MODULE_DESCRIPTION("ADI Blackfin AC97 PCM DMA module"); |
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c index 6d2162590889..f4e9dc4e262e 100644 --- a/sound/soc/blackfin/bf5xx-ac97.c +++ b/sound/soc/blackfin/bf5xx-ac97.c | |||
@@ -375,18 +375,7 @@ static struct platform_driver asoc_bfin_ac97_driver = { | |||
375 | .remove = __devexit_p(asoc_bfin_ac97_remove), | 375 | .remove = __devexit_p(asoc_bfin_ac97_remove), |
376 | }; | 376 | }; |
377 | 377 | ||
378 | static int __init bfin_ac97_init(void) | 378 | module_platform_driver(asoc_bfin_ac97_driver); |
379 | { | ||
380 | return platform_driver_register(&asoc_bfin_ac97_driver); | ||
381 | } | ||
382 | module_init(bfin_ac97_init); | ||
383 | |||
384 | static void __exit bfin_ac97_exit(void) | ||
385 | { | ||
386 | platform_driver_unregister(&asoc_bfin_ac97_driver); | ||
387 | } | ||
388 | module_exit(bfin_ac97_exit); | ||
389 | |||
390 | 379 | ||
391 | MODULE_AUTHOR("Roy Huang"); | 380 | MODULE_AUTHOR("Roy Huang"); |
392 | MODULE_DESCRIPTION("AC97 driver for ADI Blackfin"); | 381 | MODULE_DESCRIPTION("AC97 driver for ADI Blackfin"); |
diff --git a/sound/soc/blackfin/bf5xx-i2s-pcm.c b/sound/soc/blackfin/bf5xx-i2s-pcm.c index 7565e1576ffa..6ec3d41b9b6d 100644 --- a/sound/soc/blackfin/bf5xx-i2s-pcm.c +++ b/sound/soc/blackfin/bf5xx-i2s-pcm.c | |||
@@ -314,17 +314,7 @@ static struct platform_driver bfin_i2s_pcm_driver = { | |||
314 | .remove = __devexit_p(bfin_i2s_soc_platform_remove), | 314 | .remove = __devexit_p(bfin_i2s_soc_platform_remove), |
315 | }; | 315 | }; |
316 | 316 | ||
317 | static int __init snd_bfin_i2s_pcm_init(void) | 317 | module_platform_driver(bfin_i2s_pcm_driver); |
318 | { | ||
319 | return platform_driver_register(&bfin_i2s_pcm_driver); | ||
320 | } | ||
321 | module_init(snd_bfin_i2s_pcm_init); | ||
322 | |||
323 | static void __exit snd_bfin_i2s_pcm_exit(void) | ||
324 | { | ||
325 | platform_driver_unregister(&bfin_i2s_pcm_driver); | ||
326 | } | ||
327 | module_exit(snd_bfin_i2s_pcm_exit); | ||
328 | 318 | ||
329 | MODULE_AUTHOR("Cliff Cai"); | 319 | MODULE_AUTHOR("Cliff Cai"); |
330 | MODULE_DESCRIPTION("ADI Blackfin I2S PCM DMA module"); | 320 | MODULE_DESCRIPTION("ADI Blackfin I2S PCM DMA module"); |
diff --git a/sound/soc/blackfin/bf5xx-i2s.c b/sound/soc/blackfin/bf5xx-i2s.c index b31662e3a428..4dccf0374fe7 100644 --- a/sound/soc/blackfin/bf5xx-i2s.c +++ b/sound/soc/blackfin/bf5xx-i2s.c | |||
@@ -288,18 +288,7 @@ static struct platform_driver bfin_i2s_driver = { | |||
288 | }, | 288 | }, |
289 | }; | 289 | }; |
290 | 290 | ||
291 | static int __init bfin_i2s_init(void) | 291 | module_platform_driver(bfin_i2s_driver); |
292 | { | ||
293 | return platform_driver_register(&bfin_i2s_driver); | ||
294 | } | ||
295 | |||
296 | static void __exit bfin_i2s_exit(void) | ||
297 | { | ||
298 | platform_driver_unregister(&bfin_i2s_driver); | ||
299 | } | ||
300 | |||
301 | module_init(bfin_i2s_init); | ||
302 | module_exit(bfin_i2s_exit); | ||
303 | 292 | ||
304 | /* Module information */ | 293 | /* Module information */ |
305 | MODULE_AUTHOR("Cliff Cai"); | 294 | MODULE_AUTHOR("Cliff Cai"); |
diff --git a/sound/soc/blackfin/bf5xx-tdm-pcm.c b/sound/soc/blackfin/bf5xx-tdm-pcm.c index c95cc03d583d..4406f9a865ae 100644 --- a/sound/soc/blackfin/bf5xx-tdm-pcm.c +++ b/sound/soc/blackfin/bf5xx-tdm-pcm.c | |||
@@ -339,17 +339,7 @@ static struct platform_driver bfin_tdm_driver = { | |||
339 | .remove = __devexit_p(bf5xx_soc_platform_remove), | 339 | .remove = __devexit_p(bf5xx_soc_platform_remove), |
340 | }; | 340 | }; |
341 | 341 | ||
342 | static int __init snd_bfin_tdm_init(void) | 342 | module_platform_driver(bfin_tdm_driver); |
343 | { | ||
344 | return platform_driver_register(&bfin_tdm_driver); | ||
345 | } | ||
346 | module_init(snd_bfin_tdm_init); | ||
347 | |||
348 | static void __exit snd_bfin_tdm_exit(void) | ||
349 | { | ||
350 | platform_driver_unregister(&bfin_tdm_driver); | ||
351 | } | ||
352 | module_exit(snd_bfin_tdm_exit); | ||
353 | 343 | ||
354 | MODULE_AUTHOR("Barry Song"); | 344 | MODULE_AUTHOR("Barry Song"); |
355 | MODULE_DESCRIPTION("ADI Blackfin TDM PCM DMA module"); | 345 | MODULE_DESCRIPTION("ADI Blackfin TDM PCM DMA module"); |
diff --git a/sound/soc/blackfin/bf5xx-tdm.c b/sound/soc/blackfin/bf5xx-tdm.c index 7876b5090fda..594f88217c74 100644 --- a/sound/soc/blackfin/bf5xx-tdm.c +++ b/sound/soc/blackfin/bf5xx-tdm.c | |||
@@ -314,17 +314,7 @@ static struct platform_driver bfin_tdm_driver = { | |||
314 | }, | 314 | }, |
315 | }; | 315 | }; |
316 | 316 | ||
317 | static int __init bfin_tdm_init(void) | 317 | module_platform_driver(bfin_tdm_driver); |
318 | { | ||
319 | return platform_driver_register(&bfin_tdm_driver); | ||
320 | } | ||
321 | module_init(bfin_tdm_init); | ||
322 | |||
323 | static void __exit bfin_tdm_exit(void) | ||
324 | { | ||
325 | platform_driver_unregister(&bfin_tdm_driver); | ||
326 | } | ||
327 | module_exit(bfin_tdm_exit); | ||
328 | 318 | ||
329 | /* Module information */ | 319 | /* Module information */ |
330 | MODULE_AUTHOR("Barry Song"); | 320 | MODULE_AUTHOR("Barry Song"); |
diff --git a/sound/soc/blackfin/bfin-eval-adau1373.c b/sound/soc/blackfin/bfin-eval-adau1373.c index 8df2a3b0cb36..85ed39abe10e 100644 --- a/sound/soc/blackfin/bfin-eval-adau1373.c +++ b/sound/soc/blackfin/bfin-eval-adau1373.c | |||
@@ -184,17 +184,7 @@ static struct platform_driver bfin_eval_adau1373_driver = { | |||
184 | .remove = __devexit_p(bfin_eval_adau1373_remove), | 184 | .remove = __devexit_p(bfin_eval_adau1373_remove), |
185 | }; | 185 | }; |
186 | 186 | ||
187 | static int __init bfin_eval_adau1373_init(void) | 187 | module_platform_driver(bfin_eval_adau1373_driver); |
188 | { | ||
189 | return platform_driver_register(&bfin_eval_adau1373_driver); | ||
190 | } | ||
191 | module_init(bfin_eval_adau1373_init); | ||
192 | |||
193 | static void __exit bfin_eval_adau1373_exit(void) | ||
194 | { | ||
195 | platform_driver_unregister(&bfin_eval_adau1373_driver); | ||
196 | } | ||
197 | module_exit(bfin_eval_adau1373_exit); | ||
198 | 188 | ||
199 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); | 189 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); |
200 | MODULE_DESCRIPTION("ALSA SoC bfin adau1373 driver"); | 190 | MODULE_DESCRIPTION("ALSA SoC bfin adau1373 driver"); |
diff --git a/sound/soc/blackfin/bfin-eval-adau1701.c b/sound/soc/blackfin/bfin-eval-adau1701.c index e5550acba2c2..1a88fe9ce34c 100644 --- a/sound/soc/blackfin/bfin-eval-adau1701.c +++ b/sound/soc/blackfin/bfin-eval-adau1701.c | |||
@@ -121,17 +121,7 @@ static struct platform_driver bfin_eval_adau1701_driver = { | |||
121 | .remove = __devexit_p(bfin_eval_adau1701_remove), | 121 | .remove = __devexit_p(bfin_eval_adau1701_remove), |
122 | }; | 122 | }; |
123 | 123 | ||
124 | static int __init bfin_eval_adau1701_init(void) | 124 | module_platform_driver(bfin_eval_adau1701_driver); |
125 | { | ||
126 | return platform_driver_register(&bfin_eval_adau1701_driver); | ||
127 | } | ||
128 | module_init(bfin_eval_adau1701_init); | ||
129 | |||
130 | static void __exit bfin_eval_adau1701_exit(void) | ||
131 | { | ||
132 | platform_driver_unregister(&bfin_eval_adau1701_driver); | ||
133 | } | ||
134 | module_exit(bfin_eval_adau1701_exit); | ||
135 | 125 | ||
136 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); | 126 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); |
137 | MODULE_DESCRIPTION("ALSA SoC bfin ADAU1701 driver"); | 127 | MODULE_DESCRIPTION("ALSA SoC bfin ADAU1701 driver"); |
diff --git a/sound/soc/blackfin/bfin-eval-adav80x.c b/sound/soc/blackfin/bfin-eval-adav80x.c index 897cfa68a2a6..0bc995fb6283 100644 --- a/sound/soc/blackfin/bfin-eval-adav80x.c +++ b/sound/soc/blackfin/bfin-eval-adav80x.c | |||
@@ -157,17 +157,7 @@ static struct platform_driver bfin_eval_adav80x_driver = { | |||
157 | .id_table = bfin_eval_adav80x_ids, | 157 | .id_table = bfin_eval_adav80x_ids, |
158 | }; | 158 | }; |
159 | 159 | ||
160 | static int __init bfin_eval_adav80x_init(void) | 160 | module_platform_driver(bfin_eval_adav80x_driver); |
161 | { | ||
162 | return platform_driver_register(&bfin_eval_adav80x_driver); | ||
163 | } | ||
164 | module_init(bfin_eval_adav80x_init); | ||
165 | |||
166 | static void __exit bfin_eval_adav80x_exit(void) | ||
167 | { | ||
168 | platform_driver_unregister(&bfin_eval_adav80x_driver); | ||
169 | } | ||
170 | module_exit(bfin_eval_adav80x_exit); | ||
171 | 161 | ||
172 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); | 162 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); |
173 | MODULE_DESCRIPTION("ALSA SoC bfin adav80x driver"); | 163 | MODULE_DESCRIPTION("ALSA SoC bfin adav80x driver"); |