aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/88pm860x-codec.c12
-rw-r--r--sound/soc/codecs/ac97.c12
-rw-r--r--sound/soc/codecs/ad1980.c12
-rw-r--r--sound/soc/codecs/ad73311.c12
-rw-r--r--sound/soc/codecs/ads117x.c12
-rw-r--r--sound/soc/codecs/cq93vc.c12
-rw-r--r--sound/soc/codecs/cx20442.c12
-rw-r--r--sound/soc/codecs/dfbmcs320.c12
-rw-r--r--sound/soc/codecs/dmic.c12
-rw-r--r--sound/soc/codecs/jz4740.c12
-rw-r--r--sound/soc/codecs/pcm3008.c12
-rw-r--r--sound/soc/codecs/sn95031.c14
-rw-r--r--sound/soc/codecs/spdif_transciever.c13
-rw-r--r--sound/soc/codecs/stac9766.c12
-rw-r--r--sound/soc/codecs/twl4030.c12
-rw-r--r--sound/soc/codecs/twl6040.c12
-rw-r--r--sound/soc/codecs/uda134x.c12
-rw-r--r--sound/soc/codecs/wl1273.c12
-rw-r--r--sound/soc/codecs/wm8350.c12
-rw-r--r--sound/soc/codecs/wm8400.c12
-rw-r--r--sound/soc/codecs/wm8727.c12
-rw-r--r--sound/soc/codecs/wm8782.c12
-rw-r--r--sound/soc/codecs/wm8994.c13
-rw-r--r--sound/soc/codecs/wm9705.c12
-rw-r--r--sound/soc/codecs/wm9712.c12
-rw-r--r--sound/soc/codecs/wm9713.c12
26 files changed, 26 insertions, 290 deletions
diff --git a/sound/soc/codecs/88pm860x-codec.c b/sound/soc/codecs/88pm860x-codec.c
index ea305b88cb55..2d39123dd21a 100644
--- a/sound/soc/codecs/88pm860x-codec.c
+++ b/sound/soc/codecs/88pm860x-codec.c
@@ -1481,17 +1481,7 @@ static struct platform_driver pm860x_codec_driver = {
1481 .remove = __devexit_p(pm860x_codec_remove), 1481 .remove = __devexit_p(pm860x_codec_remove),
1482}; 1482};
1483 1483
1484static __init int pm860x_init(void) 1484module_platform_driver(pm860x_codec_driver);
1485{
1486 return platform_driver_register(&pm860x_codec_driver);
1487}
1488module_init(pm860x_init);
1489
1490static __exit void pm860x_exit(void)
1491{
1492 platform_driver_unregister(&pm860x_codec_driver);
1493}
1494module_exit(pm860x_exit);
1495 1485
1496MODULE_DESCRIPTION("ASoC 88PM860x driver"); 1486MODULE_DESCRIPTION("ASoC 88PM860x driver");
1497MODULE_AUTHOR("Haojian Zhuang <haojian.zhuang@marvell.com>"); 1487MODULE_AUTHOR("Haojian Zhuang <haojian.zhuang@marvell.com>");
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index 8f3216793eb5..221ec29f68e3 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -148,17 +148,7 @@ static struct platform_driver ac97_codec_driver = {
148 .remove = __devexit_p(ac97_remove), 148 .remove = __devexit_p(ac97_remove),
149}; 149};
150 150
151static int __init ac97_init(void) 151module_platform_driver(ac97_codec_driver);
152{
153 return platform_driver_register(&ac97_codec_driver);
154}
155module_init(ac97_init);
156
157static void __exit ac97_exit(void)
158{
159 platform_driver_unregister(&ac97_codec_driver);
160}
161module_exit(ac97_exit);
162 152
163MODULE_DESCRIPTION("Soc Generic AC97 driver"); 153MODULE_DESCRIPTION("Soc Generic AC97 driver");
164MODULE_AUTHOR("Liam Girdwood"); 154MODULE_AUTHOR("Liam Girdwood");
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c
index e3931cc5e66c..9bba7f849464 100644
--- a/sound/soc/codecs/ad1980.c
+++ b/sound/soc/codecs/ad1980.c
@@ -277,17 +277,7 @@ static struct platform_driver ad1980_codec_driver = {
277 .remove = __devexit_p(ad1980_remove), 277 .remove = __devexit_p(ad1980_remove),
278}; 278};
279 279
280static int __init ad1980_init(void) 280module_platform_driver(ad1980_codec_driver);
281{
282 return platform_driver_register(&ad1980_codec_driver);
283}
284module_init(ad1980_init);
285
286static void __exit ad1980_exit(void)
287{
288 platform_driver_unregister(&ad1980_codec_driver);
289}
290module_exit(ad1980_exit);
291 281
292MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)"); 282MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)");
293MODULE_AUTHOR("Roy Huang, Cliff Cai"); 283MODULE_AUTHOR("Roy Huang, Cliff Cai");
diff --git a/sound/soc/codecs/ad73311.c b/sound/soc/codecs/ad73311.c
index 8d793e993e9a..ee7a68dcefd2 100644
--- a/sound/soc/codecs/ad73311.c
+++ b/sound/soc/codecs/ad73311.c
@@ -63,17 +63,7 @@ static struct platform_driver ad73311_codec_driver = {
63 .remove = __devexit_p(ad73311_remove), 63 .remove = __devexit_p(ad73311_remove),
64}; 64};
65 65
66static int __init ad73311_init(void) 66module_platform_driver(ad73311_codec_driver);
67{
68 return platform_driver_register(&ad73311_codec_driver);
69}
70module_init(ad73311_init);
71
72static void __exit ad73311_exit(void)
73{
74 platform_driver_unregister(&ad73311_codec_driver);
75}
76module_exit(ad73311_exit);
77 67
78MODULE_DESCRIPTION("ASoC ad73311 driver"); 68MODULE_DESCRIPTION("ASoC ad73311 driver");
79MODULE_AUTHOR("Cliff Cai "); 69MODULE_AUTHOR("Cliff Cai ");
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
61static int __init ads117x_init(void) 61module_platform_driver(ads117x_codec_driver);
62{
63 return platform_driver_register(&ads117x_codec_driver);
64}
65module_init(ads117x_init);
66
67static void __exit ads117x_exit(void)
68{
69 platform_driver_unregister(&ads117x_codec_driver);
70}
71module_exit(ads117x_exit);
72 62
73MODULE_DESCRIPTION("ASoC ads117x driver"); 63MODULE_DESCRIPTION("ASoC ads117x driver");
74MODULE_AUTHOR("Graeme Gregory"); 64MODULE_AUTHOR("Graeme Gregory");
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
index cbb3028e2008..4854b472d5fd 100644
--- a/sound/soc/codecs/cq93vc.c
+++ b/sound/soc/codecs/cq93vc.c
@@ -206,17 +206,7 @@ static struct platform_driver cq93vc_codec_driver = {
206 .remove = __devexit_p(cq93vc_platform_remove), 206 .remove = __devexit_p(cq93vc_platform_remove),
207}; 207};
208 208
209static int __init cq93vc_init(void) 209module_platform_driver(cq93vc_codec_driver);
210{
211 return platform_driver_register(&cq93vc_codec_driver);
212}
213module_init(cq93vc_init);
214
215static void __exit cq93vc_exit(void)
216{
217 platform_driver_unregister(&cq93vc_codec_driver);
218}
219module_exit(cq93vc_exit);
220 210
221MODULE_DESCRIPTION("Texas Instruments DaVinci ASoC CQ0093 Voice Codec Driver"); 211MODULE_DESCRIPTION("Texas Instruments DaVinci ASoC CQ0093 Voice Codec Driver");
222MODULE_AUTHOR("Miguel Aguilar"); 212MODULE_AUTHOR("Miguel Aguilar");
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c
index bc7067db8ae4..ae55e31bfc72 100644
--- a/sound/soc/codecs/cx20442.c
+++ b/sound/soc/codecs/cx20442.c
@@ -391,17 +391,7 @@ static struct platform_driver cx20442_platform_driver = {
391 .remove = __exit_p(cx20442_platform_remove), 391 .remove = __exit_p(cx20442_platform_remove),
392}; 392};
393 393
394static int __init cx20442_init(void) 394module_platform_driver(cx20442_platform_driver);
395{
396 return platform_driver_register(&cx20442_platform_driver);
397}
398module_init(cx20442_init);
399
400static void __exit cx20442_exit(void)
401{
402 platform_driver_unregister(&cx20442_platform_driver);
403}
404module_exit(cx20442_exit);
405 395
406MODULE_DESCRIPTION("ASoC CX20442-11 voice modem codec driver"); 396MODULE_DESCRIPTION("ASoC CX20442-11 voice modem codec driver");
407MODULE_AUTHOR("Janusz Krzysztofik"); 397MODULE_AUTHOR("Janusz Krzysztofik");
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
58static int __init dfbmcs320_init(void) 58module_platform_driver(dfmcs320_driver);
59{
60 return platform_driver_register(&dfmcs320_driver);
61}
62module_init(dfbmcs320_init);
63
64static void __exit dfbmcs320_exit(void)
65{
66 platform_driver_unregister(&dfmcs320_driver);
67}
68module_exit(dfbmcs320_exit);
69 59
70MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 60MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
71MODULE_DESCRIPTION("ASoC DFBM-CS320 bluethooth module driver"); 61MODULE_DESCRIPTION("ASoC DFBM-CS320 bluethooth module driver");
diff --git a/sound/soc/codecs/dmic.c b/sound/soc/codecs/dmic.c
index 6fae765e3ad8..3e929f079a1f 100644
--- a/sound/soc/codecs/dmic.c
+++ b/sound/soc/codecs/dmic.c
@@ -89,17 +89,7 @@ static struct platform_driver dmic_driver = {
89 .remove = __devexit_p(dmic_dev_remove), 89 .remove = __devexit_p(dmic_dev_remove),
90}; 90};
91 91
92static int __init dmic_init(void) 92module_platform_driver(dmic_driver);
93{
94 return platform_driver_register(&dmic_driver);
95}
96module_init(dmic_init);
97
98static void __exit dmic_exit(void)
99{
100 platform_driver_unregister(&dmic_driver);
101}
102module_exit(dmic_exit);
103 93
104MODULE_DESCRIPTION("Generic DMIC driver"); 94MODULE_DESCRIPTION("Generic DMIC driver");
105MODULE_AUTHOR("Liam Girdwood <lrg@slimlogic.co.uk>"); 95MODULE_AUTHOR("Liam Girdwood <lrg@slimlogic.co.uk>");
diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c
index 64a479c3429a..4fca8bccd535 100644
--- a/sound/soc/codecs/jz4740.c
+++ b/sound/soc/codecs/jz4740.c
@@ -424,17 +424,7 @@ static struct platform_driver jz4740_codec_driver = {
424 }, 424 },
425}; 425};
426 426
427static int __init jz4740_codec_init(void) 427module_platform_driver(jz4740_codec_driver);
428{
429 return platform_driver_register(&jz4740_codec_driver);
430}
431module_init(jz4740_codec_init);
432
433static void __exit jz4740_codec_exit(void)
434{
435 platform_driver_unregister(&jz4740_codec_driver);
436}
437module_exit(jz4740_codec_exit);
438 428
439MODULE_DESCRIPTION("JZ4740 SoC internal codec driver"); 429MODULE_DESCRIPTION("JZ4740 SoC internal codec driver");
440MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 430MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
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
175static int __init pcm3008_modinit(void) 175module_platform_driver(pcm3008_codec_driver);
176{
177 return platform_driver_register(&pcm3008_codec_driver);
178}
179module_init(pcm3008_modinit);
180
181static void __exit pcm3008_exit(void)
182{
183 platform_driver_unregister(&pcm3008_codec_driver);
184}
185module_exit(pcm3008_exit);
186 176
187MODULE_DESCRIPTION("Soc PCM3008 driver"); 177MODULE_DESCRIPTION("Soc PCM3008 driver");
188MODULE_AUTHOR("Hugo Villeneuve"); 178MODULE_AUTHOR("Hugo Villeneuve");
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c
index 65f2ef986c4f..f99baa0b8c39 100644
--- a/sound/soc/codecs/sn95031.c
+++ b/sound/soc/codecs/sn95031.c
@@ -920,19 +920,7 @@ static struct platform_driver sn95031_codec_driver = {
920 .remove = __devexit_p(sn95031_device_remove), 920 .remove = __devexit_p(sn95031_device_remove),
921}; 921};
922 922
923static int __init sn95031_init(void) 923module_platform_driver(sn95031_codec_driver);
924{
925 pr_debug("driver init called\n");
926 return platform_driver_register(&sn95031_codec_driver);
927}
928module_init(sn95031_init);
929
930static void __exit sn95031_exit(void)
931{
932 pr_debug("driver exit called\n");
933 platform_driver_unregister(&sn95031_codec_driver);
934}
935module_exit(sn95031_exit);
936 924
937MODULE_DESCRIPTION("ASoC TI SN95031 codec driver"); 925MODULE_DESCRIPTION("ASoC TI SN95031 codec driver");
938MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>"); 926MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>");
diff --git a/sound/soc/codecs/spdif_transciever.c b/sound/soc/codecs/spdif_transciever.c
index 6a1a7e705cd7..112a49d66e39 100644
--- a/sound/soc/codecs/spdif_transciever.c
+++ b/sound/soc/codecs/spdif_transciever.c
@@ -61,18 +61,7 @@ static struct platform_driver spdif_dit_driver = {
61 }, 61 },
62}; 62};
63 63
64static int __init dit_modinit(void) 64module_platform_driver(spdif_dit_driver);
65{
66 return platform_driver_register(&spdif_dit_driver);
67}
68
69static void __exit dit_exit(void)
70{
71 platform_driver_unregister(&spdif_dit_driver);
72}
73
74module_init(dit_modinit);
75module_exit(dit_exit);
76 65
77MODULE_AUTHOR("Steve Chen <schen@mvista.com>"); 66MODULE_AUTHOR("Steve Chen <schen@mvista.com>");
78MODULE_DESCRIPTION("SPDIF dummy codec driver"); 67MODULE_DESCRIPTION("SPDIF dummy codec driver");
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c
index e4783a4f71fd..55819537b677 100644
--- a/sound/soc/codecs/stac9766.c
+++ b/sound/soc/codecs/stac9766.c
@@ -408,17 +408,7 @@ static struct platform_driver stac9766_codec_driver = {
408 .remove = __devexit_p(stac9766_remove), 408 .remove = __devexit_p(stac9766_remove),
409}; 409};
410 410
411static int __init stac9766_init(void) 411module_platform_driver(stac9766_codec_driver);
412{
413 return platform_driver_register(&stac9766_codec_driver);
414}
415module_init(stac9766_init);
416
417static void __exit stac9766_exit(void)
418{
419 platform_driver_unregister(&stac9766_codec_driver);
420}
421module_exit(stac9766_exit);
422 412
423MODULE_DESCRIPTION("ASoC stac9766 driver"); 413MODULE_DESCRIPTION("ASoC stac9766 driver");
424MODULE_AUTHOR("Jon Smirl <jonsmirl@gmail.com>"); 414MODULE_AUTHOR("Jon Smirl <jonsmirl@gmail.com>");
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index 2a3a52838e9c..61d8a9065ff3 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -2294,17 +2294,7 @@ static struct platform_driver twl4030_codec_driver = {
2294 }, 2294 },
2295}; 2295};
2296 2296
2297static int __init twl4030_modinit(void) 2297module_platform_driver(twl4030_codec_driver);
2298{
2299 return platform_driver_register(&twl4030_codec_driver);
2300}
2301module_init(twl4030_modinit);
2302
2303static void __exit twl4030_exit(void)
2304{
2305 platform_driver_unregister(&twl4030_codec_driver);
2306}
2307module_exit(twl4030_exit);
2308 2298
2309MODULE_DESCRIPTION("ASoC TWL4030 codec driver"); 2299MODULE_DESCRIPTION("ASoC TWL4030 codec driver");
2310MODULE_AUTHOR("Steve Sakoman"); 2300MODULE_AUTHOR("Steve Sakoman");
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 17930edd3a2c..a4a65dc9e33a 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1620,17 +1620,7 @@ static struct platform_driver twl6040_codec_driver = {
1620 .remove = __devexit_p(twl6040_codec_remove), 1620 .remove = __devexit_p(twl6040_codec_remove),
1621}; 1621};
1622 1622
1623static int __init twl6040_codec_init(void) 1623module_platform_driver(twl6040_codec_driver);
1624{
1625 return platform_driver_register(&twl6040_codec_driver);
1626}
1627module_init(twl6040_codec_init);
1628
1629static void __exit twl6040_codec_exit(void)
1630{
1631 platform_driver_unregister(&twl6040_codec_driver);
1632}
1633module_exit(twl6040_codec_exit);
1634 1624
1635MODULE_DESCRIPTION("ASoC TWL6040 codec driver"); 1625MODULE_DESCRIPTION("ASoC TWL6040 codec driver");
1636MODULE_AUTHOR("Misael Lopez Cruz"); 1626MODULE_AUTHOR("Misael Lopez Cruz");
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 486aef637eed..d0f9d904ce8f 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -625,17 +625,7 @@ static struct platform_driver uda134x_codec_driver = {
625 .remove = __devexit_p(uda134x_codec_remove), 625 .remove = __devexit_p(uda134x_codec_remove),
626}; 626};
627 627
628static int __init uda134x_codec_init(void) 628module_platform_driver(uda134x_codec_driver);
629{
630 return platform_driver_register(&uda134x_codec_driver);
631}
632module_init(uda134x_codec_init);
633
634static void __exit uda134x_codec_exit(void)
635{
636 platform_driver_unregister(&uda134x_codec_driver);
637}
638module_exit(uda134x_codec_exit);
639 629
640MODULE_DESCRIPTION("UDA134X ALSA soc codec driver"); 630MODULE_DESCRIPTION("UDA134X ALSA soc codec driver");
641MODULE_AUTHOR("Zoltan Devai, Christian Pellegrin <chripell@evolware.org>"); 631MODULE_AUTHOR("Zoltan Devai, Christian Pellegrin <chripell@evolware.org>");
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c
index 9531c35dccad..44aacf927ba9 100644
--- a/sound/soc/codecs/wl1273.c
+++ b/sound/soc/codecs/wl1273.c
@@ -510,17 +510,7 @@ static struct platform_driver wl1273_platform_driver = {
510 .remove = __devexit_p(wl1273_platform_remove), 510 .remove = __devexit_p(wl1273_platform_remove),
511}; 511};
512 512
513static int __init wl1273_init(void) 513module_platform_driver(wl1273_platform_driver);
514{
515 return platform_driver_register(&wl1273_platform_driver);
516}
517module_init(wl1273_init);
518
519static void __exit wl1273_exit(void)
520{
521 platform_driver_unregister(&wl1273_platform_driver);
522}
523module_exit(wl1273_exit);
524 514
525MODULE_AUTHOR("Matti Aaltonen <matti.j.aaltonen@nokia.com>"); 515MODULE_AUTHOR("Matti Aaltonen <matti.j.aaltonen@nokia.com>");
526MODULE_DESCRIPTION("ASoC WL1273 codec driver"); 516MODULE_DESCRIPTION("ASoC WL1273 codec driver");
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index 3b846c95f07f..3f1ed5f5ccf4 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1711,17 +1711,7 @@ static struct platform_driver wm8350_codec_driver = {
1711 .remove = __devexit_p(wm8350_remove), 1711 .remove = __devexit_p(wm8350_remove),
1712}; 1712};
1713 1713
1714static __init int wm8350_init(void) 1714module_platform_driver(wm8350_codec_driver);
1715{
1716 return platform_driver_register(&wm8350_codec_driver);
1717}
1718module_init(wm8350_init);
1719
1720static __exit void wm8350_exit(void)
1721{
1722 platform_driver_unregister(&wm8350_codec_driver);
1723}
1724module_exit(wm8350_exit);
1725 1715
1726MODULE_DESCRIPTION("ASoC WM8350 driver"); 1716MODULE_DESCRIPTION("ASoC WM8350 driver");
1727MODULE_AUTHOR("Liam Girdwood"); 1717MODULE_AUTHOR("Liam Girdwood");
diff --git a/sound/soc/codecs/wm8400.c b/sound/soc/codecs/wm8400.c
index 07d84a86e14e..a1173eb7936d 100644
--- a/sound/soc/codecs/wm8400.c
+++ b/sound/soc/codecs/wm8400.c
@@ -1477,17 +1477,7 @@ static struct platform_driver wm8400_codec_driver = {
1477 .remove = __devexit_p(wm8400_remove), 1477 .remove = __devexit_p(wm8400_remove),
1478}; 1478};
1479 1479
1480static __init int wm8400_init(void) 1480module_platform_driver(wm8400_codec_driver);
1481{
1482 return platform_driver_register(&wm8400_codec_driver);
1483}
1484module_init(wm8400_init);
1485
1486static __exit void wm8400_exit(void)
1487{
1488 platform_driver_unregister(&wm8400_codec_driver);
1489}
1490module_exit(wm8400_exit);
1491 1481
1492MODULE_DESCRIPTION("ASoC WM8400 driver"); 1482MODULE_DESCRIPTION("ASoC WM8400 driver");
1493MODULE_AUTHOR("Mark Brown"); 1483MODULE_AUTHOR("Mark Brown");
diff --git a/sound/soc/codecs/wm8727.c b/sound/soc/codecs/wm8727.c
index 748808285119..fad90a35f399 100644
--- a/sound/soc/codecs/wm8727.c
+++ b/sound/soc/codecs/wm8727.c
@@ -67,17 +67,7 @@ static struct platform_driver wm8727_codec_driver = {
67 .remove = __devexit_p(wm8727_remove), 67 .remove = __devexit_p(wm8727_remove),
68}; 68};
69 69
70static int __init wm8727_init(void) 70module_platform_driver(wm8727_codec_driver);
71{
72 return platform_driver_register(&wm8727_codec_driver);
73}
74module_init(wm8727_init);
75
76static void __exit wm8727_exit(void)
77{
78 platform_driver_unregister(&wm8727_codec_driver);
79}
80module_exit(wm8727_exit);
81 71
82MODULE_DESCRIPTION("ASoC wm8727 driver"); 72MODULE_DESCRIPTION("ASoC wm8727 driver");
83MODULE_AUTHOR("Neil Jones"); 73MODULE_AUTHOR("Neil Jones");
diff --git a/sound/soc/codecs/wm8782.c b/sound/soc/codecs/wm8782.c
index f2ced71328b0..3fdea98f732e 100644
--- a/sound/soc/codecs/wm8782.c
+++ b/sound/soc/codecs/wm8782.c
@@ -63,17 +63,7 @@ static struct platform_driver wm8782_codec_driver = {
63 .remove = __devexit_p(wm8782_remove), 63 .remove = __devexit_p(wm8782_remove),
64}; 64};
65 65
66static int __init wm8782_init(void) 66module_platform_driver(wm8782_codec_driver);
67{
68 return platform_driver_register(&wm8782_codec_driver);
69}
70module_init(wm8782_init);
71
72static void __exit wm8782_exit(void)
73{
74 platform_driver_unregister(&wm8782_codec_driver);
75}
76module_exit(wm8782_exit);
77 67
78MODULE_DESCRIPTION("ASoC WM8782 driver"); 68MODULE_DESCRIPTION("ASoC WM8782 driver");
79MODULE_AUTHOR("Johannes Stezenbach <js@sig21.net>"); 69MODULE_AUTHOR("Johannes Stezenbach <js@sig21.net>");
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 73db9806c475..380e3f2f3190 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3579,18 +3579,7 @@ static struct platform_driver wm8994_codec_driver = {
3579 .remove = __devexit_p(wm8994_remove), 3579 .remove = __devexit_p(wm8994_remove),
3580}; 3580};
3581 3581
3582static __init int wm8994_init(void) 3582module_platform_driver(wm8994_codec_driver);
3583{
3584 return platform_driver_register(&wm8994_codec_driver);
3585}
3586module_init(wm8994_init);
3587
3588static __exit void wm8994_exit(void)
3589{
3590 platform_driver_unregister(&wm8994_codec_driver);
3591}
3592module_exit(wm8994_exit);
3593
3594 3583
3595MODULE_DESCRIPTION("ASoC WM8994 driver"); 3584MODULE_DESCRIPTION("ASoC WM8994 driver");
3596MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); 3585MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>");
diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c
index edf603281ce7..b720a43c422c 100644
--- a/sound/soc/codecs/wm9705.c
+++ b/sound/soc/codecs/wm9705.c
@@ -406,17 +406,7 @@ static struct platform_driver wm9705_codec_driver = {
406 .remove = __devexit_p(wm9705_remove), 406 .remove = __devexit_p(wm9705_remove),
407}; 407};
408 408
409static int __init wm9705_init(void) 409module_platform_driver(wm9705_codec_driver);
410{
411 return platform_driver_register(&wm9705_codec_driver);
412}
413module_init(wm9705_init);
414
415static void __exit wm9705_exit(void)
416{
417 platform_driver_unregister(&wm9705_codec_driver);
418}
419module_exit(wm9705_exit);
420 410
421MODULE_DESCRIPTION("ASoC WM9705 driver"); 411MODULE_DESCRIPTION("ASoC WM9705 driver");
422MODULE_AUTHOR("Ian Molton"); 412MODULE_AUTHOR("Ian Molton");
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index fd1812704af8..4ce73f59df20 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -694,17 +694,7 @@ static struct platform_driver wm9712_codec_driver = {
694 .remove = __devexit_p(wm9712_remove), 694 .remove = __devexit_p(wm9712_remove),
695}; 695};
696 696
697static int __init wm9712_init(void) 697module_platform_driver(wm9712_codec_driver);
698{
699 return platform_driver_register(&wm9712_codec_driver);
700}
701module_init(wm9712_init);
702
703static void __exit wm9712_exit(void)
704{
705 platform_driver_unregister(&wm9712_codec_driver);
706}
707module_exit(wm9712_exit);
708 698
709MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver"); 699MODULE_DESCRIPTION("ASoC WM9711/WM9712 driver");
710MODULE_AUTHOR("Liam Girdwood"); 700MODULE_AUTHOR("Liam Girdwood");
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 09360b60037c..edb598182c69 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -1277,17 +1277,7 @@ static struct platform_driver wm9713_codec_driver = {
1277 .remove = __devexit_p(wm9713_remove), 1277 .remove = __devexit_p(wm9713_remove),
1278}; 1278};
1279 1279
1280static int __init wm9713_init(void) 1280module_platform_driver(wm9713_codec_driver);
1281{
1282 return platform_driver_register(&wm9713_codec_driver);
1283}
1284module_init(wm9713_init);
1285
1286static void __exit wm9713_exit(void)
1287{
1288 platform_driver_unregister(&wm9713_codec_driver);
1289}
1290module_exit(wm9713_exit);
1291 1281
1292MODULE_DESCRIPTION("ASoC WM9713/WM9714 driver"); 1282MODULE_DESCRIPTION("ASoC WM9713/WM9714 driver");
1293MODULE_AUTHOR("Liam Girdwood"); 1283MODULE_AUTHOR("Liam Girdwood");