ARM: pxa: Use gpio arrays in palmld_hdd driver
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 15 Jan 2011 18:19:05 +0000 (19:19 +0100)
committerEric Miao <eric.y.miao@gmail.com>
Wed, 16 Mar 2011 08:32:46 +0000 (16:32 +0800)
Use gpio_request_array() / gpio_free_array(), this makes the code
cleaner and less error prone.

This patch also properly frees GPIOs in case ata_host_activate() call fails.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>

No differences found