All of
 help / color / mirror / Atom feed
From: Linus Walleij <>
To: Greg Kroah-Hartman <>
	Linus Walleij <>,
	Guenter Roeck <>,
	Heikki Krogerus <>
Subject: [PATCH] usb: typec: tcpci_maxim: Drop GPIO includes
Date: Wed, 20 Jan 2021 23:50:45 +0100	[thread overview]
Message-ID: <> (raw)

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

Cc: Guenter Roeck <>
Cc: Heikki Krogerus <>
Signed-off-by: Linus Walleij <>
 drivers/usb/typec/tcpm/tcpci_maxim.c | 3 ---
 1 file changed, 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>

             reply	other threads:[~2021-01-21  0:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 22:50 Linus Walleij [this message]
2021-01-21  3:59 ` [PATCH] usb: typec: tcpci_maxim: Drop GPIO includes Guenter Roeck
2021-01-21  7:31 ` Heikki Krogerus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.