|
@@ -224,12 +224,12 @@ static struct platform_driver mc13783_regulator_driver = {
|
|
|
.owner = THIS_MODULE,
|
|
|
},
|
|
|
.remove = __devexit_p(mc13783_regulator_remove),
|
|
|
+ .probe = mc13783_regulator_probe,
|
|
|
};
|
|
|
|
|
|
static int __init mc13783_regulator_init(void)
|
|
|
{
|
|
|
- return platform_driver_probe(&mc13783_regulator_driver,
|
|
|
- mc13783_regulator_probe);
|
|
|
+ return platform_driver_register(&mc13783_regulator_driver);
|
|
|
}
|
|
|
subsys_initcall(mc13783_regulator_init);
|
|
|
|