]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: JZ4740: qi_lb60: Use gpio_request_array to request and setup gpios
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 12 Apr 2011 17:31:04 +0000 (19:31 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Apr 2011 17:34:43 +0000 (10:34 -0700)
commit721234f43be55c4dfe03ec4ba6314725d761731b
tree9f8dec3acd22c4f24f418112449a65fd6d2bbf17
parent8996379290c40da88e850f94a9f43d955b3bcef5
ASoC: JZ4740: qi_lb60: Use gpio_request_array to request and setup gpios

This patch changes the qi_lb60 setup code to use gpio_request_array instead of
manually calling gpio_request and gpio_direction_output for each gpio.
Doing so makes the code a bit more compact.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/jz4740/qi_lb60.c