commit | 429a34d7477bb7071d37dd98b89f000ee6f0193b | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Tue Jul 31 22:08:48 2012 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Aug 21 22:29:51 2012 -0700 |
tree | 3178b606302ce8781d4309c23782b932cd260893 | |
parent | a78769b80d73468d53d0ad70c5a9e3fd9ff9dc54 [diff] |
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>