commit | 6b1e3fca6ffb981db05688b1660a5d03d242edd4 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sat Jan 15 19:19:05 2011 +0100 |
committer | Eric Miao <eric.y.miao@gmail.com> | Wed Mar 16 16:32:46 2011 +0800 |
tree | 36cbc085f83e65c3740d6f4886709e2dc622cd45 | |
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>