leds: fix unsigned value overflow in atmel pwm driver
authorLi Zefan <lizf@cn.fujitsu.com>
Sat, 31 May 2008 14:18:55 +0000 (15:18 +0100)
committerRichard Purdie <rpurdie@rpsys.net>
Wed, 23 Jul 2008 08:49:56 +0000 (09:49 +0100)
commite49575f46cdb40014e14789a18e637f8fb917317
treeff1219c6d595f96ae303f13a91085f6c595295a2
parent30be0486791fb637e758c771956c8f73bef3467c
leds: fix unsigned value overflow in atmel pwm driver

Fix an unsigned value overflow in the error handling code in the
Atmel PWM driver.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/leds-atmel-pwm.c