summaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-01-20 23:50:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-21 13:09:36 +0100
commit386ce1d748edfdf57f21310647e2d42dd5f737f2 (patch)
tree5728553d87f2de24efef972816f181259ecca2ca /drivers/usb/typec
parent8d3a0578ad1aaadb1c2a2fcc4c51454cbbce2eca (diff)
downloadlinux-386ce1d748edfdf57f21310647e2d42dd5f737f2.tar.gz
linux-386ce1d748edfdf57f21310647e2d42dd5f737f2.tar.bz2
linux-386ce1d748edfdf57f21310647e2d42dd5f737f2.zip
usb: typec: tcpci_maxim: Drop GPIO includes
This driver includes the legacy GPIO header <linux/gpio.h>, the new GPIO header <linux/gpio/consumer.h> and the deprecated OF GPIO header <linux/of_gpio.h> yet fail to use symbols from any of them, so drop these includes. Cc: Guenter Roeck <linux@roeck-us.net> Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210120225045.173556-1-linus.walleij@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec')
-rw-r--r--drivers/usb/typec/tcpm/tcpci_maxim.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/typec/tcpm/tcpci_maxim.c b/drivers/usb/typec/tcpm/tcpci_maxim.c
index 319266329b42..0e2bb1235ab5 100644
--- a/drivers/usb/typec/tcpm/tcpci_maxim.c
+++ b/drivers/usb/typec/tcpm/tcpci_maxim.c
@@ -5,13 +5,10 @@
* MAXIM TCPCI based TCPC driver
*/
-#include <linux/gpio.h>
-#include <linux/gpio/consumer.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/of_gpio.h>
#include <linux/regmap.h>
#include <linux/usb/pd.h>
#include <linux/usb/tcpm.h>