Re: [PATCH 5/7] power_supply: PCF50633 battery charger driver

From: Balaji Rao
Date: Sun Dec 14 2008 - 17:10:49 EST


On Sun, Dec 14, 2008 at 04:33:23PM +0530, Balaji Rao wrote:
> +
> +static int __devexit pcf50633_mbc_remove(struct platform_device *pdev)
> +{
> + struct pcf50633 *pcf;
> +
> + pcf = platform_get_drvdata(pdev);
> +
> + /* Remove IRQ handlers */
> + for (i = 0; i < ARRAY_SIZE(mbc_irq_handlers); i++)
> + pcf->irq_handler[mbc_irq_handlers[i]] = NULL;
> +
> + return 0;
> +}
> +

Whoops! 'i not declared'. Oh., These last minute changes..

Will wait for more comments before sending a fixed version.

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