commit | 8bed576c1a81d620765ec96f7b4e80dedaef1bcf | [log] [tgz] |
---|---|---|
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | Tue Nov 26 11:09:49 2013 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Dec 12 23:00:54 2013 +0000 |
tree | 7d55d1d3c1cde016e5d4fea88d611c6cb9483f7e | |
parent | 5f72d85e282e83db8eedb291aa89db9198470b38 [diff] |
ARM: 7899/1: sa1100: h3600: refactor LCD GPIO handling Use gpio_request_array to request all GPIOs at once. Also don't call gpio_free. There is little point freeing LCD gpios once they are requested. Instead guard them with bool variable. 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>