All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas JOURDEN <nicolas.jourden@laposte.net>
To: linux-pm@vger.kernel.org, sre@kernel.org, dbaryshkov@gmail.com,
	dwmw2@infradead.org, notasas@gmail.com
Subject: [PATCH] TWL4030 charger
Date: Sat, 21 Feb 2015 22:15:57 +0100	[thread overview]
Message-ID: <54E8F58D.8060506@laposte.net> (raw)

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



             reply	other threads:[~2015-02-21 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 21:15 Nicolas JOURDEN [this message]
2015-02-22 11:50 ` [PATCH] TWL4030 charger Nicolas JOURDEN
2015-02-23 11:25   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54E8F58D.8060506@laposte.net \
    --to=nicolas.jourden@laposte.net \
    --cc=dbaryshkov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=notasas@gmail.com \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.