Re: [PATCH 03/18] power: ab8500_charger: Detect charger removal

From: Lee Jones
Date: Wed Jan 16 2013 - 03:48:24 EST


On Tue, 15 Jan 2013, Anton Vorontsov wrote:

> On Fri, Jan 11, 2013 at 01:12:51PM +0000, Lee Jones wrote:
> > Add two new work queues to provide USB and AC charger disconnect
> > detection.
> >
> > Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> > ---
> [....]
> > + if ((statval & usbch)) != usbch)
>
> CC drivers/power/ab8500_charger.o
> drivers/power/ab8500_charger.c: In function âab8500_charger_usb_attached_workâ:
> drivers/power/ab8500_charger.c:1812:26: error: expected expression before â!=â token
> drivers/power/ab8500_charger.c:1812:34: error: expected statement before â)â token
> drivers/power/ab8500_charger.c: In function âab8500_charger_ac_attached_workâ:
> drivers/power/ab8500_charger.c:1852:27: error: expected expression before â!=â token
> drivers/power/ab8500_charger.c:1852:36: error: expected statement before â)â token
>
> I fixed it up...

You're a star.

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/