diff options
| author | Axel Lin <[email protected]> | 2012-01-10 15:09:43 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-01-10 16:30:49 -0800 |
| commit | 3b080945aa7670354364c8f9e1a3a07cbb97beb3 (patch) | |
| tree | c901525cf47e02e4423800d13bc7802755e566cd /tools/perf/scripts/python/bin | |
| parent | a6d511e5155406cd214d3af3ff9cffc69548b006 (diff) | |
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 <[email protected]>
Acked-by: Philippe Retornaz <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions