diff mbox series

power: supply: bq24735: Drop unused include

Message ID 20201030003732.7828-1-linus.walleij@linaro.org
State Accepted
Commit 4e586fe990b199bdcb9d9f32071a13388cbae23b
Headers show
Series power: supply: bq24735: Drop unused include | expand

Commit Message

Linus Walleij Oct. 30, 2020, 12:37 a.m. UTC
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>

---
 drivers/power/supply/bq24735-charger.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.26.2
diff mbox series

Patch

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>