aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/da903x.c2
-rw-r--r--drivers/regulator/fixed.c2
-rw-r--r--drivers/regulator/pcf50633-regulator.c2
-rw-r--r--drivers/regulator/wm8400-regulator.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/da903x.c b/drivers/regulator/da903x.c
index c6628f5a0af7..b8b89ef10a84 100644
--- a/drivers/regulator/da903x.c
+++ b/drivers/regulator/da903x.c
@@ -504,7 +504,7 @@ static int __init da903x_regulator_init(void)
504{ 504{
505 return platform_driver_register(&da903x_regulator_driver); 505 return platform_driver_register(&da903x_regulator_driver);
506} 506}
507module_init(da903x_regulator_init); 507subsys_initcall(da903x_regulator_init);
508 508
509static void __exit da903x_regulator_exit(void) 509static void __exit da903x_regulator_exit(void)
510{ 510{
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 23d554628a76..6e0bede16ef8 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -117,7 +117,7 @@ static int __init regulator_fixed_voltage_init(void)
117{ 117{
118 return platform_driver_register(&regulator_fixed_voltage_driver); 118 return platform_driver_register(&regulator_fixed_voltage_driver);
119} 119}
120module_init(regulator_fixed_voltage_init); 120subsys_initcall(regulator_fixed_voltage_init);
121 121
122static void __exit regulator_fixed_voltage_exit(void) 122static void __exit regulator_fixed_voltage_exit(void)
123{ 123{
diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c
index cd761d85c8fd..8e14900eb686 100644
--- a/drivers/regulator/pcf50633-regulator.c
+++ b/drivers/regulator/pcf50633-regulator.c
@@ -316,7 +316,7 @@ static int __init pcf50633_regulator_init(void)
316{ 316{
317 return platform_driver_register(&pcf50633_regulator_driver); 317 return platform_driver_register(&pcf50633_regulator_driver);
318} 318}
319module_init(pcf50633_regulator_init); 319subsys_initcall(pcf50633_regulator_init);
320 320
321static void __exit pcf50633_regulator_exit(void) 321static void __exit pcf50633_regulator_exit(void)
322{ 322{
diff --git a/drivers/regulator/wm8400-regulator.c b/drivers/regulator/wm8400-regulator.c
index 157426029071..01a6c952b7c9 100644
--- a/drivers/regulator/wm8400-regulator.c
+++ b/drivers/regulator/wm8400-regulator.c
@@ -380,7 +380,7 @@ static int __init wm8400_regulator_init(void)
380{ 380{
381 return platform_driver_register(&wm8400_regulator_driver); 381 return platform_driver_register(&wm8400_regulator_driver);
382} 382}
383module_init(wm8400_regulator_init); 383subsys_initcall(wm8400_regulator_init);
384 384
385static void __exit wm8400_regulator_exit(void) 385static void __exit wm8400_regulator_exit(void)
386{ 386{