History

Input: zforce_ts - convert to use the gpiod interface

Use the new GPIO descriptor interface to handle the zForce GPIOs. This simplifies the code and allows transparently handle GPIO polarity, as specified in device tree data. Also switch to using gpio_{set|get}_value_cansleep() since none of the callers is in atomic context and cansleep variant allows more GPIO controllers to be used with the touchscreen.

Dirk Behme committed 11 years ago

Commit 2d538091 parent b7e79322 files · +30 −31Browse files

Showing the changes to include/linux/platform_data (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/zforce_ts.h+0−3
@@ -16,9 +16,6 @@ · 15 unmodified lines
1616 #define _LINUX_INPUT_ZFORCE_TS_H
1717
1818 struct zforce_ts_platdata {
19− int gpio_int;
20− int gpio_rst;
21−
2219 unsigned int x_max;
2320 unsigned int y_max;
2421 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t