Messages in this thread | | | Date | Wed, 20 May 2015 00:11:09 +0200 | From | Alexandre Belloni <> | Subject | Re: [V2] rtc: rtc-v3020: use gpio_request_array() |
| |
On 22/02/2013 at 11:19:15 +0900, Jingoo Han wrote : > 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> > --- > Changes since v1: > - Replace gpio_request_one() with gpio_request_array() > > drivers/rtc/rtc-v3020.c | 37 ++++++++++++------------------------- > 1 files changed, 12 insertions(+), 25 deletions(-) > Applied with the change suggested by Igor, thanks.
-- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
| |