rtc: rtc-v3020: use gpio_request_array()
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 02:19:15 +0000 (11:19 +0900)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 24 Jun 2015 23:13:38 +0000 (01:13 +0200)
Using gpio_request_array()/gpio_free_array() can make the code
simpler because it can set the direction and initial value
in one shot and the for loop is unnecessary.

Also, struct v3020_gpio is removed, because the struct v3020_gpio
is replaced with struct gpio.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-v3020.c

Simple merge