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)
commitc6f0ede7c563497f6d7fef847a965d7fd63d86f9
tree9f8dec3acd22c4f24f418112449a65fd6d2bbf17
parent13319699113a78e90625ece124666d3ee53033f6
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