Linux LED subsystem development
 help / color / mirror / Atom feed
* [PATCH v2] leds: st1202: Drop unused include
@ 2026-04-27  8:48 Linus Walleij
  0 siblings, 0 replies; only message in thread
From: Linus Walleij @ 2026-04-27  8:48 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek; +Cc: linux-leds, Linus Walleij

The driver includes the legacy GPIO header <linux/gpio.h> but does
not use any symbols from it so drop the include.

Signed-off-by: Linus Walleij <linusw@kernel.org>
---
Changes in v2:
- Rebased on v7.1-rc1
- Link to v1: https://lore.kernel.org/r/20260327-leds-st1202-v1-1-15c107cc9fb9@kernel.org
---
 drivers/leds/leds-st1202.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/leds/leds-st1202.c b/drivers/leds/leds-st1202.c
index 4e5dd76d714d..2b68cd3c45f8 100644
--- a/drivers/leds/leds-st1202.c
+++ b/drivers/leds/leds-st1202.c
@@ -9,7 +9,6 @@
 #include <linux/ctype.h>
 #include <linux/delay.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/i2c.h>
 #include <linux/leds.h>
 #include <linux/module.h>

---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260327-leds-st1202-d5f6155f9dc1

Best regards,
--  
Linus Walleij <linusw@kernel.org>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-27  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27  8:48 [PATCH v2] leds: st1202: Drop unused include Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox