* [PATCH] power: supply: max14656: Drop unused includes
@ 2021-01-10 12:13 Linus Walleij
2021-01-12 23:15 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2021-01-10 12:13 UTC (permalink / raw)
To: Sebastian Reichel; +Cc: linux-pm, Linus Walleij, Alexander Kurz
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: max14656: Drop unused includes
2021-01-10 12:13 [PATCH] power: supply: max14656: Drop unused includes Linus Walleij
@ 2021-01-12 23:15 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2021-01-12 23:15 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-pm, Alexander Kurz
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
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
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-12 23:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10 12:13 [PATCH] power: supply: max14656: Drop unused includes Linus Walleij
2021-01-12 23:15 ` Sebastian Reichel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.