Skip to contentSkip to conversation

MAINTAINERS: add a keyword entry for the GPIO subsystem

PATCH Applied Bartosz Golaszewski 2 participants 3 messages Oct 17, 2024 – Oct 22, 2024 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MAINTAINERS: add a keyword entry for the GPIO subsystem

From: Bartosz Golaszewski <[email protected]>

Every now and then - despite being clearly documented as deprecated - the legacy GPIO API is being used in some new drivers in the kernel. Add a keyword pattern matching the unwanted functions so that I get Cc'ed anytime they're being used and get the chance to object.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index fae25c425f41..ec9f98ab6872 100644
@@ -9808,6 +9808,7 @@ F:	include/dt-bindings/gpio/
 F:	include/linux/gpio.h
 F:	include/linux/gpio/
 F:	include/linux/of_gpio.h
+K:	(devm_)?gpio_(request|free|direction|get|set)
 
 GPIO UAPI
 M:	Bartosz Golaszewski <[email protected]>
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Every now and then - despite being clearly documented as deprecated - the legacy GPIO API is being used in some new drivers in the kernel. Add a keyword pattern matching the unwanted functions so that I get Cc'ed anytime they're being used and get the chance to object.

Excellent idea. I had to patch out *new* users of the legacy API in the last merge window. :/

Yours,
Linus Walleij

author Applied
#2 lore raw
In reply to Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Quoted 6 lines · Bartosz Golaszewski

Every now and then - despite being clearly documented as deprecated - the legacy GPIO API is being used in some new drivers in the kernel. Add a keyword pattern matching the unwanted functions so that I get Cc'ed anytime they're being used and get the chance to object.

Applied, thanks!

[1/1] MAINTAINERS: add a keyword entry for the GPIO subsystem

      commit: 7e336a6c15ec7675adc1b376ca176ab013642098

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>