linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: add a keyword entry for the GPIO subsystem
@ 2024-10-17  7:18 Bartosz Golaszewski
  2024-10-17  8:27 ` Linus Walleij
  2024-10-22  7:13 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-10-17  7:18 UTC (permalink / raw)
  To: Linus Walleij, Greg Kroah-Hartman, Arnd Bergmann
  Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

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(+)

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>
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] MAINTAINERS: add a keyword entry for the GPIO subsystem
  2024-10-17  7:18 [PATCH] MAINTAINERS: add a keyword entry for the GPIO subsystem Bartosz Golaszewski
@ 2024-10-17  8:27 ` Linus Walleij
  2024-10-22  7:13 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2024-10-17  8:27 UTC (permalink / raw)
  To: Bartosz Golaszewski
  Cc: Greg Kroah-Hartman, Arnd Bergmann, linux-gpio, linux-kernel,
	Bartosz Golaszewski

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] MAINTAINERS: add a keyword entry for the GPIO subsystem
  2024-10-17  7:18 [PATCH] MAINTAINERS: add a keyword entry for the GPIO subsystem Bartosz Golaszewski
  2024-10-17  8:27 ` Linus Walleij
@ 2024-10-22  7:13 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-10-22  7:13 UTC (permalink / raw)
  To: Linus Walleij, Greg Kroah-Hartman, Arnd Bergmann,
	Bartosz Golaszewski
  Cc: Bartosz Golaszewski, linux-gpio, linux-kernel

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 17 Oct 2024 09:18:35 +0200, Bartosz Golaszewski wrote:
> 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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-22  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-17  7:18 [PATCH] MAINTAINERS: add a keyword entry for the GPIO subsystem Bartosz Golaszewski
2024-10-17  8:27 ` Linus Walleij
2024-10-22  7:13 ` Bartosz Golaszewski

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).