Hello,
Looks like my mailer changed the format/indent for the patch.
This patch fix the TWL4030 charger module for the RTC battery.
Signed-off-by: Nicolas JOURDEN <redacted>
---
diff --git a/drivers/power/twl4030_charger.c b/drivers/power/twl4030_charger.c
index 2598c58..89184ae 100644
--- a/drivers/power/twl4030_charger.c
+++ b/drivers/power/twl4030_charger.c
@@ -719,10 +719,11 @@ static struct platform_driver twl4030_bci_driver = {
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(twl_bci_of_match),
},
+ .probe = twl4030_bci_probe,
.remove = __exit_p(twl4030_bci_remove),
};
-module_platform_driver_probe(twl4030_bci_driver, twl4030_bci_probe);
+module_platform_driver(twl4030_bci_driver);
MODULE_AUTHOR("Gražvydas Ignotas");
MODULE_DESCRIPTION("TWL4030 Battery Charger Interface driver");