commit | d5fff72db1d7cf1161deed54f6be6d2c96f2ad80 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Mon Aug 13 22:47:58 2012 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Sep 03 13:21:37 2012 +0200 |
tree | c514e1d86efdbff0e8755c01c75f4d18f8e01604 | |
parent | b9aa8f13eaaf65f6939c67920d2cda4399be1e2a [diff] |
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>