summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-04-24 10:39:56 +0200
committerParth Pancholi <parth.pancholi@toradex.com>2024-05-17 10:49:15 +0200
commita8df5692c82f8671695f1cf3d3c227b7c81b7296 (patch)
treeba915fcfd54bce1504d2a0330d01e808d074a546
parentdc5d69357272ae25cf0bec1de3bb1d6e00007c1e (diff)
usb: typec: mux: Remove some unneeded includes
This driver includes many header files that are unneeded. Remove them and add <linux/device.h> where devm_kzalloc() is defined. Upstream-Status: Backport [986866c3dfb0f930c5cc109a6c509c1391d96b5f] Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/1db1e8bd253cbb652835c0cef6a0a2bb9a4970eb.1682325582.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
-rw-r--r--drivers/usb/typec/mux/gpio-sbu-mux.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/typec/mux/gpio-sbu-mux.c b/drivers/usb/typec/mux/gpio-sbu-mux.c
index 94c5bc0f467d..ad60fd4e8431 100644
--- a/drivers/usb/typec/mux/gpio-sbu-mux.c
+++ b/drivers/usb/typec/mux/gpio-sbu-mux.c
@@ -3,14 +3,11 @@
* Copyright (C) 2022 Linaro Ltd.
*/
-#include <linux/bits.h>
-#include <linux/i2c.h>
-#include <linux/kernel.h>
+#include <linux/device.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/gpio/consumer.h>
#include <linux/platform_device.h>
-#include <linux/regmap.h>
#include <linux/usb/typec_dp.h>
#include <linux/usb/typec_mux.h>