Re: [PATCH v4] power_supply: add new lp8788 charger driver

From: Anton Vorontsov
Date: Thu Sep 20 2012 - 18:19:14 EST


On Wed, Sep 05, 2012 at 10:43:21AM +0000, Kim, Milo wrote:
> TI LP8788 PMU supports regulators, battery charger, RTC,
> ADC, backlight driver and current sinks.
>
> This patch supports the charger operations including
> the charger interrupt handling.
[...]
> Signed-off-by: Milo(Woogyom) Kim <milo.kim@xxxxxx>
> ---

Had to fix a bunch of checkpatch complaints:

CHECK: space prohibited before semicolon
#478: FILE: drivers/power/lp8788-charger.c:396:
+ for (i = 0 ; i < pdata->num_chg_params ; i++) {

CHECK: space prohibited before semicolon
#541: FILE: drivers/power/lp8788-charger.c:459:
+ for (i = 0 ; i < pchg->num_irqs ; i++) {


But other than this, it looks really good, this is now applied.

Obviously, I couldn't compile-test it, but hopefully it will work
once MFD part is also in. :-) If not, you can just send a follow-up
fix.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/