mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 14:52:34 +00:00
Input: eeti_ts - switch to gpiod API
gpiod API allows standard way of specifying GPIO polarity and takes it into account when reading or setting GPIO state. It also allows us to switch to common way of obtaining GPIO descriptor and away form legacy platform data. Reviewed-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
d422be5f62
commit
d99caa472c
3 changed files with 16 additions and 32 deletions
|
@ -1,10 +0,0 @@
|
|||
#ifndef LINUX_INPUT_EETI_TS_H
|
||||
#define LINUX_INPUT_EETI_TS_H
|
||||
|
||||
struct eeti_ts_platform_data {
|
||||
int irq_gpio;
|
||||
unsigned int irq_active_high;
|
||||
};
|
||||
|
||||
#endif /* LINUX_INPUT_EETI_TS_H */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue