Skip to contentSkip to conversation

leds: st1202: Drop unused include

PATCH Applied Linus Walleij 2 participants 2 messages Apr 27 – Jun 17 LED

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 leds: st1202: Drop unused include

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

---
Changes in v2:
- Rebased on v7.1-rc1
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 drivers/leds/leds-st1202.c | 1 -
 1 file changed, 1 deletion(-)
drivers/leds/leds-st1202.c +0 -1
index 4e5dd76d714d..2b68cd3c45f8 100644
@@ -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,

Signature · 1 line
Linus Walleij <[email protected]>
maintainer Applied
#1 lore raw

Re: (subset) [PATCH v2] leds: st1202: Drop unused include

Quoted 2 lines · Linus Walleij

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

Applied, thanks!

[1/1] leds: st1202: Drop unused include

      commit: 5ed87cc71c1bc1c3a3449ebd2de83e2b9c32670b

--
Lee Jones [李琼斯]