Message ID | 20191026185958.24158-1-festevam@gmail.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | d34a069e1c63ddc20e2c3c8bfdec2510682b15f3 |
Headers | show |
Series | [1/3] Input: colibri-vf50-ts - remove unneeded gpio.h header file | expand |
On Sat, Oct 26, 2019 at 03:59:56PM -0300, Fabio Estevam wrote: > 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> Applied, thank you. > --- > drivers/input/touchscreen/colibri-vf50-ts.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/input/touchscreen/colibri-vf50-ts.c b/drivers/input/touchscreen/colibri-vf50-ts.c > index 0e40897949bb..aa829725ded7 100644 > --- a/drivers/input/touchscreen/colibri-vf50-ts.c > +++ b/drivers/input/touchscreen/colibri-vf50-ts.c > @@ -9,7 +9,6 @@ > > #include <linux/delay.h> > #include <linux/err.h> > -#include <linux/gpio.h> > #include <linux/gpio/consumer.h> > #include <linux/iio/consumer.h> > #include <linux/iio/types.h> > -- > 2.17.1 >
diff --git a/drivers/input/touchscreen/colibri-vf50-ts.c b/drivers/input/touchscreen/colibri-vf50-ts.c index 0e40897949bb..aa829725ded7 100644 --- a/drivers/input/touchscreen/colibri-vf50-ts.c +++ b/drivers/input/touchscreen/colibri-vf50-ts.c @@ -9,7 +9,6 @@ #include <linux/delay.h> #include <linux/err.h> -#include <linux/gpio.h> #include <linux/gpio/consumer.h> #include <linux/iio/consumer.h> #include <linux/iio/types.h>
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> --- drivers/input/touchscreen/colibri-vf50-ts.c | 1 - 1 file changed, 1 deletion(-)