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>
This commit is contained in:
@@ -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__ */
|
Reference in New Issue
Block a user