ARM: 7901/1: sa1100: h3600: refactor IrDA GPIO handling
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 26 Nov 2013 10:10:40 +0000 (11:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Dec 2013 23:00:56 +0000 (23:00 +0000)
commit15cc324aca0a78e5882228e7e2eedf57e732d8f5
treeba0b3f9dda92b9e4887a029af76ffc58c315cb6d
parentd8eec82c176a87aebc823ceed2b7656e43f88b49
ARM: 7901/1: sa1100: h3600: refactor IrDA GPIO handling

Use gpio_request_array/gpio_free_array to request all GPIOs at once.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/h3600.c