diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-02-22 11:19:15 +0900 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-06-25 01:13:38 +0200 |
commit | 6c95fa80e6f3e111b738949111a94bfac5021721 (patch) | |
tree | e337192a54394b90dbc1174e6be2f879854b12b6 /drivers/rtc/rtc-efi.c | |
parent | ff32ff17a0d9c8e6e128e0be1b53756307414b2a (diff) | |
download | linux-6c95fa80e6f3e111b738949111a94bfac5021721.tar.gz linux-6c95fa80e6f3e111b738949111a94bfac5021721.tar.bz2 linux-6c95fa80e6f3e111b738949111a94bfac5021721.zip |
rtc: rtc-v3020: use gpio_request_array()
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>
Diffstat (limited to 'drivers/rtc/rtc-efi.c')
0 files changed, 0 insertions, 0 deletions