Input: of_touchscreen - switch to using device properties
Let's switch form OF to device properties so that common parsing code could work not only on device tree but also on ACPI-based platforms. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
517178692c
commit
4200e831e4
6 changed files with 37 additions and 40 deletions
|
|
@ -9,15 +9,8 @@
|
|||
#ifndef _TOUCHSCREEN_H
|
||||
#define _TOUCHSCREEN_H
|
||||
|
||||
#include <linux/input.h>
|
||||
struct input_dev;
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
void touchscreen_parse_of_params(struct input_dev *dev, bool multitouch);
|
||||
#else
|
||||
static inline void touchscreen_parse_of_params(struct input_dev *dev,
|
||||
bool multitouch)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
void touchscreen_parse_properties(struct input_dev *dev, bool multitouch);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue