summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-10-08 19:13:38 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-09 23:56:33 +0200
commitbdafbb15d13b8819d75e026c0b4b61a701583a91 (patch)
treec330f23a167660f458793a9c9597971c7a063c7c /drivers/input/touchscreen
parentInput: gpio_mouse - switch to using input device polling mode (diff)
downloadlinux-bdafbb15d13b8819d75e026c0b4b61a701583a91.tar.xz
linux-bdafbb15d13b8819d75e026c0b4b61a701583a91.zip
Input: pixcir_i2c_ts - remove unneeded gpio.h header file
The touchscreen device is a GPIO consumer, not a GPIO controller, so there is no need to include <linux/gpio.h>. Remove the unneeded header file. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Roger Quadros <rogerq@ti.com> Tested-by: Michal Vokáč <michal.vokac@ysoft.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/pixcir_i2c_ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/pixcir_i2c_ts.c b/drivers/input/touchscreen/pixcir_i2c_ts.c
index e146dfa257b1..4561d65e7a1e 100644
--- a/drivers/input/touchscreen/pixcir_i2c_ts.c
+++ b/drivers/input/touchscreen/pixcir_i2c_ts.c
@@ -13,7 +13,6 @@
#include <linux/input.h>
#include <linux/input/mt.h>
#include <linux/input/touchscreen.h>
-#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/of_device.h>
#include <linux/platform_data/pixcir_i2c_ts.h>