diff mbox series

MAINTAINERS: add a keyword entry for the GPIO subsystem

Message ID 20241017071835.19069-1-brgl@bgdev.pl
State New
Headers show
Series MAINTAINERS: add a keyword entry for the GPIO subsystem | expand

Commit Message

Bartosz Golaszewski Oct. 17, 2024, 7:18 a.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Oct. 17, 2024, 8:27 a.m. UTC | #1
On Thu, Oct 17, 2024 at 9:18 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
>
> 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.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Excellent idea. I had to patch out *new* users of the legacy
API in the last merge window. :/
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/MAINTAINERS b/MAINTAINERS
index fae25c425f41..ec9f98ab6872 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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 <brgl@bgdev.pl>