diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-01-15 19:19:05 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-03-16 16:32:46 +0800 |
commit | 6b1e3fca6ffb981db05688b1660a5d03d242edd4 (patch) | |
tree | 36cbc085f83e65c3740d6f4886709e2dc622cd45 /drivers/ata/pata_atiixp.c | |
parent | e27af7edda008d225ad542c3b6645483683a7e91 (diff) |
ARM: pxa: Use gpio arrays in palmld_hdd driver
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>
Diffstat (limited to 'drivers/ata/pata_atiixp.c')
0 files changed, 0 insertions, 0 deletions