summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-01-10 13:13:28 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-01-12 23:09:45 +0100
commited3c19bdb0f46bf6152bfccd51425ad14f2d3e97 (patch)
tree847816cdef3a56396d5a38f159a5f1cf61dadf7e /drivers/power
parentpower: supply: remove duplicated argument in power_supply_hwmon_info (diff)
downloadlinux-ed3c19bdb0f46bf6152bfccd51425ad14f2d3e97.tar.xz
linux-ed3c19bdb0f46bf6152bfccd51425ad14f2d3e97.zip
power: supply: max14656: Drop unused includes
The driver includes two GPIO headers but does not use symbols from any of them, so drop these includes. Cc: Alexander Kurz <akurz@blala.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/max14656_charger_detector.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/power/supply/max14656_charger_detector.c b/drivers/power/supply/max14656_charger_detector.c
index 137f9fafce8c..3f49b29f3c88 100644
--- a/drivers/power/supply/max14656_charger_detector.c
+++ b/drivers/power/supply/max14656_charger_detector.c
@@ -15,8 +15,6 @@
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
-#include <linux/gpio.h>
-#include <linux/of_gpio.h>
#include <linux/of_device.h>
#include <linux/workqueue.h>
#include <linux/power_supply.h>