Re: [PATCH 1/2] regulator: TI bq24022 Li-Ion Charger driver

From: Philipp Zabel
Date: Fri Jul 11 2008 - 11:27:26 EST


Am Freitag, den 11.07.2008, 11:28 +0100 schrieb Liam Girdwood:
> On Thu, 2008-07-10 at 21:04 +0200, Philipp Zabel wrote:
> > This adds a regulator driver for the TI bq24022 Single-Chip
> > Li-Ion Charger with its nCE and ISET2 pins connected to GPIOs.
>
> snip
>
> > +static struct platform_driver bq24022_driver = {
> > + .driver = {
> > + .name = "bq24022",
> > + },
> > + .remove = __devexit_p(bq24022_remove),
> > +};
> > +
> > +static int __init bq24022_init()
>
> missing void
>
> > +{
> > + platform_driver_probe(&bq24022_driver, bq24022_probe);
> > +}
> > +
>
> missing return value.
>
> > +static void __exit bq24022_exit()
>
> ïmissing void
>
> > +{
> > + platform_driver_unregister(&bq24022_driver);
> > +}
>
> Could you fix these and resubmit.

Thanks, fixed version will follow in a second.

regards
Philipp

--
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/