Thread (3 messages) 3 messages, 2 authors, 2015-02-23

Re: [PATCH] TWL4030 charger

From: Nicolas JOURDEN <hidden>
Date: 2015-02-22 11:50:14
Subsystem: the rest · Maintainer: Linus Torvalds

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");
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help