diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-01-06 13:38:31 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-01-20 17:55:49 +0100 |
commit | 546edd83abe4f03472d721c60011c5ff95e25474 (patch) | |
tree | 609fc1988af9b7a3ab16fb82cd985cfe0b7b31d1 /drivers/pinctrl/pinconf.c | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) | |
download | linux-546edd83abe4f03472d721c60011c5ff95e25474.tar.gz linux-546edd83abe4f03472d721c60011c5ff95e25474.tar.bz2 linux-546edd83abe4f03472d721c60011c5ff95e25474.zip |
pinctrl: fix pinconf_pins_show iteration
Commit 706e852 "pinctrl: correct a offset while enumerating pins"
modified the variable used by pinconf_pin_show()'s for loop, but didn't
update the for loop test expression.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf.c')
-rw-r--r-- | drivers/pinctrl/pinconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinconf.c index 1259872b0a1d..1892a3794b99 100644 --- a/drivers/pinctrl/pinconf.c +++ b/drivers/pinctrl/pinconf.c @@ -236,7 +236,7 @@ static int pinconf_pins_show(struct seq_file *s, void *what) seq_puts(s, "Format: pin (name): pinmux setting array\n"); /* The pin number can be retrived from the pin controller descriptor */ - for (i = 0; pin < pctldev->desc->npins; i++) { + for (i = 0; i < pctldev->desc->npins; i++) { struct pin_desc *desc; pin = pctldev->desc->pins[i].number; |