summaryrefslogtreecommitdiff
path: root/include/linux/rotary_encoder.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2016-01-17 10:57:09 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-03-02 15:48:05 -0800
commita9e340dce3c3bceeb42f6b6d33b7858822d76cb6 (patch)
tree7a337c625bf3f29a47146d642eb24ed23fe4151a /include/linux/rotary_encoder.h
parent8631580f4fde9584ef39480eb0f2219708e5aeba (diff)
Input: rotary_encoder - move away from platform data structure
Drop support for platform data passed via a C-structure and switch to device properties instead, which should make the driver compatible with all platforms: OF, ACPI and static boards. Static boards should use property sets to communicate device parameters to the driver. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/rotary_encoder.h')
-rw-r--r--include/linux/rotary_encoder.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/rotary_encoder.h b/include/linux/rotary_encoder.h
deleted file mode 100644
index 4536c813a1e9..000000000000
--- a/include/linux/rotary_encoder.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef __ROTARY_ENCODER_H__
-#define __ROTARY_ENCODER_H__
-
-struct rotary_encoder_platform_data {
- unsigned int steps;
- unsigned int axis;
- unsigned int steps_per_period;
- bool relative_axis;
- bool rollover;
- bool wakeup_source;
-};
-
-#endif /* __ROTARY_ENCODER_H__ */