summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-08-01 09:08:48 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-08-22 09:29:51 +0400
commit429a34d7477bb7071d37dd98b89f000ee6f0193b (patch)
tree3178b606302ce8781d4309c23782b932cd260893 /drivers/rtc
parenta78769b80d73468d53d0ad70c5a9e3fd9ff9dc54 (diff)
downloadlinux-429a34d7477bb7071d37dd98b89f000ee6f0193b.tar.xz
Input: rotary-encoder - use gpio_request_one()
Use gpio_request_one() instead of separate calls to gpio_request() and gpio_direction_input() to simplify the code. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions