Axel Lin
3b080945aa
drivers/leds/leds-mc13783.c: fix off-by-one for checking num_leds
...
The LED id begins from 0. Thus the maximum number of leds should be
MC13783_LED_MAX + 1.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Philippe Retornaz <philippe.retornaz@epfl.ch>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-10 16:30:49 -08:00
..
2011-10-31 19:31:49 -04:00
2012-01-10 16:30:49 -08:00
2012-01-06 11:42:52 -08:00
2008-04-24 23:37:42 +01:00
2011-12-21 16:26:03 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:49 -08:00
2009-09-26 10:50:47 -07:00
2012-01-10 16:30:48 -08:00
2011-10-31 19:31:50 -04:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:49 -08:00
2012-01-10 16:30:48 -08:00
2011-05-25 08:39:51 -07:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2011-10-31 19:31:49 -04:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:49 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:49 -08:00
2011-10-31 19:31:49 -04:00
2011-10-31 19:31:49 -04:00
2012-01-10 16:30:49 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2010-11-25 06:50:33 +09:00
2011-07-25 20:57:15 -07:00
2012-01-10 16:30:49 -08:00
2012-01-10 16:30:48 -08:00
2012-01-10 16:30:48 -08:00
2011-10-31 19:31:49 -04:00
2011-05-25 08:39:49 -07:00
2011-01-13 08:03:06 -08:00
2009-04-06 16:06:25 +01:00
2011-01-20 17:02:06 -08:00
2010-03-30 22:02:32 +09:00
2009-04-06 16:06:25 +01:00
2011-09-14 18:09:38 -07:00
2012-01-10 16:30:49 -08:00