diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-08-13 22:47:58 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-03 13:21:37 +0200 |
commit | d5fff72db1d7cf1161deed54f6be6d2c96f2ad80 (patch) | |
tree | c514e1d86efdbff0e8755c01c75f4d18f8e01604 /drivers/pinctrl/pinctrl-nomadik.c | |
parent | b9aa8f13eaaf65f6939c67920d2cda4399be1e2a (diff) | |
download | op-kernel-dev-d5fff72db1d7cf1161deed54f6be6d2c96f2ad80.zip op-kernel-dev-d5fff72db1d7cf1161deed54f6be6d2c96f2ad80.tar.gz |
pinctrl: imx5: start numbering pad from 0
Unlike imx6q pinctrl driver that starts nubmering pad from 0, imx5
pinctrl drivers number pad from 1. It causes problem/confusion when
driver accesses imx51_pinctrl_pads array using pin ID as the index.
Change imx51_pads and imx53_pads numbering start from 0.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.c')
0 files changed, 0 insertions, 0 deletions