summaryrefslogtreecommitdiff
path: root/include/linux/rotary_encoder.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2016-01-17 21:18:12 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-03-02 20:31:49 +0300
commit77a8f0ad38844b5d4163424c4feb8abbbbb55af0 (patch)
treec7222026070a312d14f7d716f9595a0813e9298e /include/linux/rotary_encoder.h
parent6a6f70b3864a5f8f862b7153c1b4d1217f50e4d4 (diff)
downloadlinux-77a8f0ad38844b5d4163424c4feb8abbbbb55af0.tar.xz
Input: rotary_encoder - convert to use gpiod API
Instead of using old GPIO API, let's switch to GPIOD API, which automatically handles polarity. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rotary_encoder.h')
-rw-r--r--include/linux/rotary_encoder.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/rotary_encoder.h b/include/linux/rotary_encoder.h
index fe3dc64e5aeb..4536c813a1e9 100644
--- a/include/linux/rotary_encoder.h
+++ b/include/linux/rotary_encoder.h
@@ -4,10 +4,6 @@
struct rotary_encoder_platform_data {
unsigned int steps;
unsigned int axis;
- unsigned int gpio_a;
- unsigned int gpio_b;
- unsigned int inverted_a;
- unsigned int inverted_b;
unsigned int steps_per_period;
bool relative_axis;
bool rollover;