summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-10-30 01:37:32 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-11-30 02:45:37 +0100
commit4e586fe990b199bdcb9d9f32071a13388cbae23b (patch)
treeb1ad125866382e282247d9fd2639c96af0db4dac /drivers/power
parent846651bf976fee3900e0ddab57bab5bb1b5d3d16 (diff)
downloadlinux-4e586fe990b199bdcb9d9f32071a13388cbae23b.tar.bz2
power: supply: bq24735: Drop unused include
The driver include <linux/gpio.h> but actually only use <linux/gpio/consumer.h> which is includes below. Drop the surplus legacy header include. Cc: Peter Rosin <peda@axentia.se> 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/bq24735-charger.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/supply/bq24735-charger.c b/drivers/power/supply/bq24735-charger.c
index 6931e1d826f5..ab2f4bf8f603 100644
--- a/drivers/power/supply/bq24735-charger.c
+++ b/drivers/power/supply/bq24735-charger.c
@@ -18,7 +18,6 @@
*/
#include <linux/err.h>
-#include <linux/gpio.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/interrupt.h>