]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7841/1: sa1100: remove complex GPIO interface
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 25 Sep 2013 12:33:55 +0000 (13:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Oct 2013 09:35:43 +0000 (10:35 +0100)
commite011d3202953c5142f9cc1152f52258ee43210d5
treedf8ccc40f823cd7f4955847186e9e205c4a72b55
parent272b98c6455f00884f0350f775c5342358ebb73f
ARM: 7841/1: sa1100: remove complex GPIO interface

The SA1100 was implementing its own variants of gpio_get_value()
and gpio_set_value() and only selectively falling back to
gpiolib for extended (EGPIO) handling. However the driver in
gpio/gpio-sa1100.c already handles the same functionality for
these lines, yet remain unused.

The only upside would be things like a timing-critical hotpath
on bit-banged GPIO, but that kind of things does not seem to
happen on these GPIOs, so it is not worth having the extra
complexity.

Tested with some buttons on the Compaq iPAQ H3630.

Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mach-sa1100/include/mach/gpio.h [deleted file]
arch/arm/mach-sa1100/include/mach/h3xxx.h
drivers/gpio/gpio-sa1100.c