diff mbox

TWL4030 charger

Message ID 54E8F58D.8060506@laposte.net (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Nicolas JOURDEN Feb. 21, 2015, 9:15 p.m. UTC
Hello,

This patch fix the TWL4030 charger module for the RTC battery.

Cheers,
Nicolas


Signed-off-by: Nicolas JOURDEN <nicolas.jourden@laposte.net>
---


--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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");