summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinmux.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-30 12:31:25 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-08-30 12:37:36 +0400
commitc9e3b2d8f75d84c7b333761471f6cef98ec4429a (patch)
treea50f04f05983c912277a6f999c10522a564ff5a8 /drivers/pinctrl/pinmux.c
parent07b7eb927994b8e78267a20244ecc9d49fb15d95 (diff)
downloadlinux-c9e3b2d8f75d84c7b333761471f6cef98ec4429a.tar.xz
pinctrl: sunxi: Fix off-by-one for valid offset range checking
The valid offset range should be 0 ... chip->ngpio - 1. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinmux.c')
0 files changed, 0 insertions, 0 deletions