pinctrl/lantiq: pinconf uses port instead of pin
authorJohn Crispin <blogic@openwrt.org>
Fri, 1 Feb 2013 12:04:55 +0000 (13:04 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Feb 2013 15:17:21 +0000 (16:17 +0100)
commit362ba3cfb45a68d12b6b7d2584eda6df28c77bcb
treece551347652c2bf61d428aadcbd066cd863b1d7c
parentd41e35c364391d5c80467f62eecec8c4c65342f4
pinctrl/lantiq: pinconf uses port instead of pin

The XWAY pinctrl driver invalidly uses the port and not the pin
number to work out the registers and bits to be set for the
opendrain and pullup/down resistors.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-xway.c