In case tsc2007 is used as an ADC sensor there will be no interrupt
provided at all, so set up an interrupt only if one is present and
remove associated warning.
---
Changes in v2:
- commit spit into making interrupt optional and changing message typefrom
warn to dbg
---
Svyatoslav Ryhel (2):
input: touchcreen: tsc2007: change warning to debug message if pen
GPIO is not defined
input: touchcreen: tsc2007: make interrupt optional
drivers/input/touchscreen/tsc2007_core.c | 30 ++++++++++++++----------
1 file changed, 17 insertions(+), 13 deletions(-)
--
2.43.0