diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-09-10 11:19:55 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-09-27 14:15:07 +0200 |
commit | 8040dd09c2ca7e70daf84f040beb3ced9602fce5 (patch) | |
tree | c57e492d4d402a07c7585207a063545f50abc77d /arch/arm/mach-ixp4xx/common.c | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f (diff) | |
download | linux-stable-8040dd09c2ca7e70daf84f040beb3ced9602fce5.tar.gz linux-stable-8040dd09c2ca7e70daf84f040beb3ced9602fce5.tar.bz2 linux-stable-8040dd09c2ca7e70daf84f040beb3ced9602fce5.zip |
ARM: ixp4xx: convert remaining users to use gpiolib
A few call sites inside mach-ixp4xx were still using the custom
ixp4xx GPIO API with gpio_line_* accessors, convert all these
to use the standard gpiolib functions instead. Also attempt to
request and label all GPIOs before use. Move the GPIO requests
to per-machine device_initcalls() so we are not dependent on the
GPIO chip to be available at machine_init time.
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ixp4xx/common.c')
0 files changed, 0 insertions, 0 deletions