]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: 7900/1: sa1100: h3100: refactor IrDA GPIO handling
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 26 Nov 2013 10:10:10 +0000 (11:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Dec 2013 23:00:56 +0000 (23:00 +0000)
commitd8eec82c176a87aebc823ceed2b7656e43f88b49
treef7ec501782638911ad48b3c3c4b14b02269420f3
parent8bed576c1a81d620765ec96f7b4e80dedaef1bcf
ARM: 7900/1: sa1100: h3100: refactor IrDA GPIO handling

As GPIOs are going to move to platform device, there is no guarantee
that they will be available at init_machine time.

Request and free all GPIOs from IrDA startup/shutdown callbacks and not
at init_machine time.

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/h3100.c