diff options
Diffstat (limited to 'drivers/regulator/mc13783-regulator.c')
-rw-r--r-- | drivers/regulator/mc13783-regulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/mc13783-regulator.c b/drivers/regulator/mc13783-regulator.c index 9f99862ec3a6..39c495300045 100644 --- a/drivers/regulator/mc13783-regulator.c +++ b/drivers/regulator/mc13783-regulator.c | |||
@@ -224,12 +224,12 @@ static struct platform_driver mc13783_regulator_driver = { | |||
224 | .owner = THIS_MODULE, | 224 | .owner = THIS_MODULE, |
225 | }, | 225 | }, |
226 | .remove = __devexit_p(mc13783_regulator_remove), | 226 | .remove = __devexit_p(mc13783_regulator_remove), |
227 | .probe = mc13783_regulator_probe, | ||
227 | }; | 228 | }; |
228 | 229 | ||
229 | static int __init mc13783_regulator_init(void) | 230 | static int __init mc13783_regulator_init(void) |
230 | { | 231 | { |
231 | return platform_driver_probe(&mc13783_regulator_driver, | 232 | return platform_driver_register(&mc13783_regulator_driver); |
232 | mc13783_regulator_probe); | ||
233 | } | 233 | } |
234 | subsys_initcall(mc13783_regulator_init); | 234 | subsys_initcall(mc13783_regulator_init); |
235 | 235 | ||