History

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.

Dmitry Torokhov committed 11 years ago

Commit 4200e831 parent 51717866 files · +37 −40Browse files

Showing the changes to include/linux/input (1 of 6 files). Show all

Unified · Split

include/linux/input/touchscreen.h+2−9
@@ -9,15 +9,8 @@ · 8 unmodified lines
99 #ifndef _TOUCHSCREEN_H
1010 #define _TOUCHSCREEN_H
1111
12−#include <linux/input.h>
12+struct input_dev;
1313
14−#ifdef CONFIG_OF
15−void touchscreen_parse_of_params(struct input_dev *dev, bool multitouch);
16−#else
17−static inline void touchscreen_parse_of_params(struct input_dev *dev,
18− bool multitouch)
19−{
20−}
21−#endif
14+void touchscreen_parse_properties(struct input_dev *dev, bool multitouch);
2215
2316 #endif