ARM: 7898/1: sa1100: h3100: refactor LCD GPIO handling
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 26 Nov 2013 10:09:01 +0000 (11:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Dec 2013 23:00:53 +0000 (23:00 +0000)
commit5f72d85e282e83db8eedb291aa89db9198470b38
treef7597601e73a5038b2d03264a54864dd7889654d
parent22564bde0bc4a0ec04d084d3a6c8c75eb2102d57
ARM: 7898/1: sa1100: h3100: refactor LCD 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 all GPIOs directly in lcd_power callback 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