diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-01-15 18:19:05 (GMT) |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-03-16 08:32:46 (GMT) |
commit | 6b1e3fca6ffb981db05688b1660a5d03d242edd4 (patch) | |
tree | 36cbc085f83e65c3740d6f4886709e2dc622cd45 /arch/arm/mach-pxa | |
parent | e27af7edda008d225ad542c3b6645483683a7e91 (diff) | |
download | linux-fsl-qoriq-6b1e3fca6ffb981db05688b1660a5d03d242edd4.tar.xz |
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 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions