Skip to content

Commit

Permalink
pinctrl: imx5: start numbering pad from 0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn Guo authored and Linus Walleij committed Sep 3, 2012
1 parent b9aa8f1 commit d5fff72
Show file tree
Hide file tree
Showing 2 changed files with 446 additions and 446 deletions.
Loading

0 comments on commit d5fff72

Please sign in to comment.