Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] TWL4030 charger
@ 2015-02-21 21:15 Nicolas JOURDEN
  2015-02-22 11:50 ` Nicolas JOURDEN
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas JOURDEN @ 2015-02-21 21:15 UTC (permalink / raw)
  To: linux-pm, sre, dbaryshkov, dwmw2, notasas

Hello,

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

Cheers,
Nicolas


Signed-off-by: Nicolas JOURDEN <nicolas.jourden@laposte.net>
---
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");



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-23 11:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-21 21:15 [PATCH] TWL4030 charger Nicolas JOURDEN
2015-02-22 11:50 ` Nicolas JOURDEN
2015-02-23 11:25   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox