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
9#ifndef _TOUCHSCREEN_H9#ifndef _TOUCHSCREEN_H
10#define _TOUCHSCREEN_H10#define _TOUCHSCREEN_H
11 11
12#include <linux/input.h>12struct input_dev;
13 13
14#ifdef CONFIG_OF14void touchscreen_parse_properties(struct input_dev *dev, bool multitouch);
15void touchscreen_parse_of_params(struct input_dev *dev, bool multitouch);
16#else
17static inline void touchscreen_parse_of_params(struct input_dev *dev,
18 bool multitouch)
19{
20}
21#endif
22 15
23#endif16#endif