* [PATCH 1/5] power: supply: bd99954: Remove unused gpio include header
@ 2025-12-20 21:39 Waqar Hameed
0 siblings, 0 replies; 3+ messages in thread
From: Waqar Hameed @ 2025-12-20 21:39 UTC (permalink / raw)
To: Matti Vaittinen, Sebastian Reichel; +Cc: kernel, linux-pm, linux-kernel
This header file is not used anywhere in the driver. Remove it.
Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
---
drivers/power/supply/bd99954-charger.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/power/supply/bd99954-charger.c b/drivers/power/supply/bd99954-charger.c
index d03a70cf84067..5c447b0882233 100644
--- a/drivers/power/supply/bd99954-charger.c
+++ b/drivers/power/supply/bd99954-charger.c
@@ -56,7 +56,6 @@
*/
#include <linux/delay.h>
-#include <linux/gpio/consumer.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
--
2.39.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 0/5] power: supply: Remove unused gpio include header
@ 2025-12-20 21:54 Waqar Hameed
2025-12-20 21:54 ` [PATCH 1/5] power: supply: bd99954: " Waqar Hameed
0 siblings, 1 reply; 3+ messages in thread
From: Waqar Hameed @ 2025-12-20 21:54 UTC (permalink / raw)
To: Sebastian Reichel, Tobias Schrammm, Matti Vaittinen
Cc: kernel, linux-pm, linux-kernel
These drivers include the gpio header but never use it. This patch
series just removes this unnecessary header.
This issue was found when writing a new driver for the upcoming TI
BQ25630 [1]. Patch adding support for that one will be sent as soon as
TI releases the datasheet publicly, which should be anytime soon...
[1] https://www.ti.com/product/BQ25630
Waqar Hameed (5):
power: supply: bd99954: Remove unused gpio include header
power: supply: bq256xx: Remove unused gpio include header
power: supply: bq25980: Remove unused gpio include header
power: supply: cw2015: Remove unused gpio include header
power: supply: ucs1002: Remove unused gpio include header
drivers/power/supply/bd99954-charger.c | 1 -
drivers/power/supply/bq256xx_charger.c | 1 -
drivers/power/supply/bq25980_charger.c | 1 -
drivers/power/supply/cw2015_battery.c | 1 -
drivers/power/supply/ucs1002_power.c | 1 -
5 files changed, 5 deletions(-)
base-commit: fa084c35afa13ab07a860ef0936cd987f9aa0460
--
2.39.5
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/5] power: supply: bd99954: Remove unused gpio include header
2025-12-20 21:54 [PATCH 0/5] power: supply: " Waqar Hameed
@ 2025-12-20 21:54 ` Waqar Hameed
2025-12-22 7:19 ` Matti Vaittinen
0 siblings, 1 reply; 3+ messages in thread
From: Waqar Hameed @ 2025-12-20 21:54 UTC (permalink / raw)
To: Matti Vaittinen, Sebastian Reichel; +Cc: kernel, linux-pm, linux-kernel
This header file is not used anywhere in the driver. Remove it.
Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
---
drivers/power/supply/bd99954-charger.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/power/supply/bd99954-charger.c b/drivers/power/supply/bd99954-charger.c
index d03a70cf84067..5c447b0882233 100644
--- a/drivers/power/supply/bd99954-charger.c
+++ b/drivers/power/supply/bd99954-charger.c
@@ -56,7 +56,6 @@
*/
#include <linux/delay.h>
-#include <linux/gpio/consumer.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
--
2.39.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/5] power: supply: bd99954: Remove unused gpio include header
2025-12-20 21:54 ` [PATCH 1/5] power: supply: bd99954: " Waqar Hameed
@ 2025-12-22 7:19 ` Matti Vaittinen
0 siblings, 0 replies; 3+ messages in thread
From: Matti Vaittinen @ 2025-12-22 7:19 UTC (permalink / raw)
To: Waqar Hameed, Sebastian Reichel; +Cc: kernel, linux-pm, linux-kernel
On 20/12/2025 23:54, Waqar Hameed wrote:
> This header file is not used anywhere in the driver. Remove it.
>
> Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
Thanks!
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
> ---
> drivers/power/supply/bd99954-charger.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/power/supply/bd99954-charger.c b/drivers/power/supply/bd99954-charger.c
> index d03a70cf84067..5c447b0882233 100644
> --- a/drivers/power/supply/bd99954-charger.c
> +++ b/drivers/power/supply/bd99954-charger.c
> @@ -56,7 +56,6 @@
> */
>
> #include <linux/delay.h>
> -#include <linux/gpio/consumer.h>
> #include <linux/interrupt.h>
> #include <linux/i2c.h>
> #include <linux/kernel.h>
Yours,
-- Matti
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-22 7:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-20 21:39 [PATCH 1/5] power: supply: bd99954: Remove unused gpio include header Waqar Hameed
-- strict thread matches above, loose matches on Subject: below --
2025-12-20 21:54 [PATCH 0/5] power: supply: " Waqar Hameed
2025-12-20 21:54 ` [PATCH 1/5] power: supply: bd99954: " Waqar Hameed
2025-12-22 7:19 ` Matti Vaittinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).