On Wed, Nov 14, 2012 at 12:58:14PM +0100, Alban Bedel wrote: [...] > static int __devexit lpc32xx_pwm_remove(struct platform_device *pdev) > { > struct lpc32xx_pwm_chip *lpc32xx = platform_get_drvdata(pdev); > + int i;
This should rather be unsigned int since pwm_chip.npwm is unsigned as well. > + > + for (i = 0 ; i < lpc32xx->chip.npwm ; i += 1) No space before ';' and "i++" please. Thierry
pgpJlAOEgwx7h.pgp
Description: PGP signature