Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Linus Walleij and committed by
Greg Kroah-Hartman
386ce1d7 8d3a0578

-3
-3
drivers/usb/typec/tcpm/tcpci_maxim.c
··· 5 5 * MAXIM TCPCI based TCPC driver 6 6 */ 7 7 8 - #include <linux/gpio.h> 9 - #include <linux/gpio/consumer.h> 10 8 #include <linux/interrupt.h> 11 9 #include <linux/i2c.h> 12 10 #include <linux/kernel.h> 13 11 #include <linux/module.h> 14 - #include <linux/of_gpio.h> 15 12 #include <linux/regmap.h> 16 13 #include <linux/usb/pd.h> 17 14 #include <linux/usb/tcpm.h>