Message ID | 20210110121328.81259-1-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | ed3c19bdb0f46bf6152bfccd51425ad14f2d3e97 |
Headers | show |
Series | power: supply: max14656: Drop unused includes | expand |
Hi, On Sun, Jan 10, 2021 at 01:13:28PM +0100, Linus Walleij wrote: > 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> > --- Thanks, queued. -- Sebastian > drivers/power/supply/max14656_charger_detector.c | 2 -- > 1 file changed, 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> > -- > 2.29.2 >
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>
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> --- drivers/power/supply/max14656_charger_detector.c | 2 -- 1 file changed, 2 deletions(-) -- 2.29.2