+22
−21
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>