summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/edt-ft5x06.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/edt-ft5x06.c')
-rw-r--r--drivers/input/touchscreen/edt-ft5x06.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 5738722873bb..df76f19673e8 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -92,7 +92,6 @@ struct edt_ft5x06_ts_data {
struct gpio_desc *reset_gpio;
struct gpio_desc *wake_gpio;
- struct gpio_desc *irq_gpio;
#if defined(CONFIG_DEBUG_FS)
struct dentry *debug_dir;
@@ -927,15 +926,6 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client,
return error;
}
- tsdata->irq_gpio = devm_gpiod_get_optional(&client->dev,
- "irq", GPIOD_IN);
- if (IS_ERR(tsdata->irq_gpio)) {
- error = PTR_ERR(tsdata->irq_gpio);
- dev_err(&client->dev,
- "Failed to request GPIO irq pin, error %d\n", error);
- return error;
- }
-
if (tsdata->wake_gpio) {
usleep_range(5000, 6000);
gpiod_set_value_cansleep(tsdata->wake_gpio, 1);