aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/intel_msic.c12
-rw-r--r--drivers/mfd/jz4740-adc.c12
-rw-r--r--drivers/mfd/mcp-sa11x0.c13
-rw-r--r--drivers/mfd/pcf50633-adc.c12
-rw-r--r--drivers/mfd/t7l66xb.c16
-rw-r--r--drivers/mfd/tc6387xb.c14
-rw-r--r--drivers/mfd/ti-ssp.c12
-rw-r--r--drivers/mfd/twl4030-audio.c12
-rw-r--r--drivers/mfd/twl4030-madc.c14
-rw-r--r--drivers/mfd/twl6040-core.c13
10 files changed, 10 insertions, 120 deletions
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c
index 97c27762174f..b76657eb0c51 100644
--- a/drivers/mfd/intel_msic.c
+++ b/drivers/mfd/intel_msic.c
@@ -485,17 +485,7 @@ static struct platform_driver intel_msic_driver = {
485 }, 485 },
486}; 486};
487 487
488static int __init intel_msic_init(void) 488module_platform_driver(intel_msic_driver);
489{
490 return platform_driver_register(&intel_msic_driver);
491}
492module_init(intel_msic_init);
493
494static void __exit intel_msic_exit(void)
495{
496 platform_driver_unregister(&intel_msic_driver);
497}
498module_exit(intel_msic_exit);
499 489
500MODULE_DESCRIPTION("Driver for Intel MSIC"); 490MODULE_DESCRIPTION("Driver for Intel MSIC");
501MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>"); 491MODULE_AUTHOR("Mika Westerberg <mika.westerberg@linux.intel.com>");
diff --git a/drivers/mfd/jz4740-adc.c b/drivers/mfd/jz4740-adc.c
index ef39528088f2..83ef1021d773 100644
--- a/drivers/mfd/jz4740-adc.c
+++ b/drivers/mfd/jz4740-adc.c
@@ -338,17 +338,7 @@ static struct platform_driver jz4740_adc_driver = {
338 }, 338 },
339}; 339};
340 340
341static int __init jz4740_adc_init(void) 341module_platform_driver(jz4740_adc_driver);
342{
343 return platform_driver_register(&jz4740_adc_driver);
344}
345module_init(jz4740_adc_init);
346
347static void __exit jz4740_adc_exit(void)
348{
349 platform_driver_unregister(&jz4740_adc_driver);
350}
351module_exit(jz4740_adc_exit);
352 342
353MODULE_DESCRIPTION("JZ4740 SoC ADC driver"); 343MODULE_DESCRIPTION("JZ4740 SoC ADC driver");
354MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 344MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
diff --git a/drivers/mfd/mcp-sa11x0.c b/drivers/mfd/mcp-sa11x0.c
index 2dab02d9ac8b..02c53a0766c4 100644
--- a/drivers/mfd/mcp-sa11x0.c
+++ b/drivers/mfd/mcp-sa11x0.c
@@ -257,18 +257,7 @@ static struct platform_driver mcp_sa11x0_driver = {
257/* 257/*
258 * This needs re-working 258 * This needs re-working
259 */ 259 */
260static int __init mcp_sa11x0_init(void) 260module_platform_driver(mcp_sa11x0_driver);
261{
262 return platform_driver_register(&mcp_sa11x0_driver);
263}
264
265static void __exit mcp_sa11x0_exit(void)
266{
267 platform_driver_unregister(&mcp_sa11x0_driver);
268}
269
270module_init(mcp_sa11x0_init);
271module_exit(mcp_sa11x0_exit);
272 261
273MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); 262MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>");
274MODULE_DESCRIPTION("SA11x0 multimedia communications port driver"); 263MODULE_DESCRIPTION("SA11x0 multimedia communications port driver");
diff --git a/drivers/mfd/pcf50633-adc.c b/drivers/mfd/pcf50633-adc.c
index aed0d2a9b032..3927c17e4175 100644
--- a/drivers/mfd/pcf50633-adc.c
+++ b/drivers/mfd/pcf50633-adc.c
@@ -249,17 +249,7 @@ static struct platform_driver pcf50633_adc_driver = {
249 .remove = __devexit_p(pcf50633_adc_remove), 249 .remove = __devexit_p(pcf50633_adc_remove),
250}; 250};
251 251
252static int __init pcf50633_adc_init(void) 252module_platform_driver(pcf50633_adc_driver);
253{
254 return platform_driver_register(&pcf50633_adc_driver);
255}
256module_init(pcf50633_adc_init);
257
258static void __exit pcf50633_adc_exit(void)
259{
260 platform_driver_unregister(&pcf50633_adc_driver);
261}
262module_exit(pcf50633_adc_exit);
263 253
264MODULE_AUTHOR("Balaji Rao <balajirrao@openmoko.org>"); 254MODULE_AUTHOR("Balaji Rao <balajirrao@openmoko.org>");
265MODULE_DESCRIPTION("PCF50633 adc driver"); 255MODULE_DESCRIPTION("PCF50633 adc driver");
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c
index 91ad21ef7721..2d9e8799e733 100644
--- a/drivers/mfd/t7l66xb.c
+++ b/drivers/mfd/t7l66xb.c
@@ -442,21 +442,7 @@ static struct platform_driver t7l66xb_platform_driver = {
442 442
443/*--------------------------------------------------------------------------*/ 443/*--------------------------------------------------------------------------*/
444 444
445static int __init t7l66xb_init(void) 445module_platform_driver(t7l66xb_platform_driver);
446{
447 int retval = 0;
448
449 retval = platform_driver_register(&t7l66xb_platform_driver);
450 return retval;
451}
452
453static void __exit t7l66xb_exit(void)
454{
455 platform_driver_unregister(&t7l66xb_platform_driver);
456}
457
458module_init(t7l66xb_init);
459module_exit(t7l66xb_exit);
460 446
461MODULE_DESCRIPTION("Toshiba T7L66XB core driver"); 447MODULE_DESCRIPTION("Toshiba T7L66XB core driver");
462MODULE_LICENSE("GPL v2"); 448MODULE_LICENSE("GPL v2");
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c
index 71bc835324d8..d20a284ad4ba 100644
--- a/drivers/mfd/tc6387xb.c
+++ b/drivers/mfd/tc6387xb.c
@@ -234,19 +234,7 @@ static struct platform_driver tc6387xb_platform_driver = {
234 .resume = tc6387xb_resume, 234 .resume = tc6387xb_resume,
235}; 235};
236 236
237 237module_platform_driver(tc6387xb_platform_driver);
238static int __init tc6387xb_init(void)
239{
240 return platform_driver_register(&tc6387xb_platform_driver);
241}
242
243static void __exit tc6387xb_exit(void)
244{
245 platform_driver_unregister(&tc6387xb_platform_driver);
246}
247
248module_init(tc6387xb_init);
249module_exit(tc6387xb_exit);
250 238
251MODULE_DESCRIPTION("Toshiba TC6387XB core driver"); 239MODULE_DESCRIPTION("Toshiba TC6387XB core driver");
252MODULE_LICENSE("GPL v2"); 240MODULE_LICENSE("GPL v2");
diff --git a/drivers/mfd/ti-ssp.c b/drivers/mfd/ti-ssp.c
index af9ab0e5ca64..4fb0e6c8e8fe 100644
--- a/drivers/mfd/ti-ssp.c
+++ b/drivers/mfd/ti-ssp.c
@@ -458,17 +458,7 @@ static struct platform_driver ti_ssp_driver = {
458 } 458 }
459}; 459};
460 460
461static int __init ti_ssp_init(void) 461module_platform_driver(ti_ssp_driver);
462{
463 return platform_driver_register(&ti_ssp_driver);
464}
465module_init(ti_ssp_init);
466
467static void __exit ti_ssp_exit(void)
468{
469 platform_driver_unregister(&ti_ssp_driver);
470}
471module_exit(ti_ssp_exit);
472 462
473MODULE_DESCRIPTION("Sequencer Serial Port (SSP) Driver"); 463MODULE_DESCRIPTION("Sequencer Serial Port (SSP) Driver");
474MODULE_AUTHOR("Cyril Chemparathy"); 464MODULE_AUTHOR("Cyril Chemparathy");
diff --git a/drivers/mfd/twl4030-audio.c b/drivers/mfd/twl4030-audio.c
index ae51ab5d0e5d..838ce4eb444e 100644
--- a/drivers/mfd/twl4030-audio.c
+++ b/drivers/mfd/twl4030-audio.c
@@ -261,17 +261,7 @@ static struct platform_driver twl4030_audio_driver = {
261 }, 261 },
262}; 262};
263 263
264static int __devinit twl4030_audio_init(void) 264module_platform_driver(twl4030_audio_driver);
265{
266 return platform_driver_register(&twl4030_audio_driver);
267}
268module_init(twl4030_audio_init);
269
270static void __devexit twl4030_audio_exit(void)
271{
272 platform_driver_unregister(&twl4030_audio_driver);
273}
274module_exit(twl4030_audio_exit);
275 265
276MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>"); 266MODULE_AUTHOR("Peter Ujfalusi <peter.ujfalusi@ti.com>");
277MODULE_LICENSE("GPL"); 267MODULE_LICENSE("GPL");
diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c
index 834f824d3c11..456ecb5ac4fe 100644
--- a/drivers/mfd/twl4030-madc.c
+++ b/drivers/mfd/twl4030-madc.c
@@ -807,19 +807,7 @@ static struct platform_driver twl4030_madc_driver = {
807 }, 807 },
808}; 808};
809 809
810static int __init twl4030_madc_init(void) 810module_platform_driver(twl4030_madc_driver);
811{
812 return platform_driver_register(&twl4030_madc_driver);
813}
814
815module_init(twl4030_madc_init);
816
817static void __exit twl4030_madc_exit(void)
818{
819 platform_driver_unregister(&twl4030_madc_driver);
820}
821
822module_exit(twl4030_madc_exit);
823 811
824MODULE_DESCRIPTION("TWL4030 ADC driver"); 812MODULE_DESCRIPTION("TWL4030 ADC driver");
825MODULE_LICENSE("GPL"); 813MODULE_LICENSE("GPL");
diff --git a/drivers/mfd/twl6040-core.c b/drivers/mfd/twl6040-core.c
index 268f80fd0439..7f06685187f4 100644
--- a/drivers/mfd/twl6040-core.c
+++ b/drivers/mfd/twl6040-core.c
@@ -619,18 +619,7 @@ static struct platform_driver twl6040_driver = {
619 }, 619 },
620}; 620};
621 621
622static int __devinit twl6040_init(void) 622module_platform_driver(twl6040_driver);
623{
624 return platform_driver_register(&twl6040_driver);
625}
626module_init(twl6040_init);
627
628static void __devexit twl6040_exit(void)
629{
630 platform_driver_unregister(&twl6040_driver);
631}
632
633module_exit(twl6040_exit);
634 623
635MODULE_DESCRIPTION("TWL6040 MFD"); 624MODULE_DESCRIPTION("TWL6040 MFD");
636MODULE_AUTHOR("Misael Lopez Cruz <misael.lopez@ti.com>"); 625MODULE_AUTHOR("Misael Lopez Cruz <misael.lopez@ti.com>");