diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-07 20:28:20 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-04-10 23:41:17 +0200 |
commit | fdc7a9f85ab4c19acfc21e4da6ff8b7000bb686c (patch) | |
tree | 5e811b761ea73d80c977d6db2fd212dfe4fd7376 /drivers/gpio/gpiolib-acpi.c | |
parent | 97ddb1c88b4ebe057b63346660abfee165ddd468 (diff) |
gpio: lpc32xx: Fix off-by-one valid range checking for bank
The valid bank should be 0 ... ARRAY_SIZE(lpc32xx_gpiochip) - 1.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-acpi.c')
0 files changed, 0 insertions, 0 deletions