linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: add reset controller framework keywords
@ 2019-10-22 12:38 Philipp Zabel
  2019-10-22 16:03 ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Zabel @ 2019-10-22 12:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Joe Perches, kernel

Add a regex that matches users of the reset controller API.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 296de2b51c83..7ec2f5c48616 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13851,6 +13851,7 @@ F:	include/dt-bindings/reset/
 F:	include/linux/reset.h
 F:	include/linux/reset/
 F:	include/linux/reset-controller.h
+K:	\b(devm_|of_)?reset_control(ler_[a-z]+|_[a-z_]+)?\b
 
 RESTARTABLE SEQUENCES SUPPORT
 M:	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
-- 
2.20.1


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

* Re: [PATCH] MAINTAINERS: add reset controller framework keywords
  2019-10-22 12:38 [PATCH] MAINTAINERS: add reset controller framework keywords Philipp Zabel
@ 2019-10-22 16:03 ` Joe Perches
  2019-10-22 16:16   ` Philipp Zabel
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2019-10-22 16:03 UTC (permalink / raw)
  To: Philipp Zabel, linux-kernel; +Cc: kernel

On Tue, 2019-10-22 at 14:38 +0200, Philipp Zabel wrote:
> Add a regex that matches users of the reset controller API.
[]
> diff --git a/MAINTAINERS b/MAINTAINERS
[]
> @@ -13851,6 +13851,7 @@ F:	include/dt-bindings/reset/
>  F:	include/linux/reset.h
>  F:	include/linux/reset/
>  F:	include/linux/reset-controller.h
> +K:	\b(devm_|of_)?reset_control(ler_[a-z]+|_[a-z_]+)?\b

Please add ?: to each group so no capture is done.
It's a little faster.

K:	\b(?:devm_|of_)?reset_control(?:ler_[a-z]+|_[a-z_]+)?\b



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

* Re: [PATCH] MAINTAINERS: add reset controller framework keywords
  2019-10-22 16:03 ` Joe Perches
@ 2019-10-22 16:16   ` Philipp Zabel
  0 siblings, 0 replies; 3+ messages in thread
From: Philipp Zabel @ 2019-10-22 16:16 UTC (permalink / raw)
  To: Joe Perches, linux-kernel; +Cc: kernel

On Tue, 2019-10-22 at 09:03 -0700, Joe Perches wrote:
> On Tue, 2019-10-22 at 14:38 +0200, Philipp Zabel wrote:
> > Add a regex that matches users of the reset controller API.
> []
> > diff --git a/MAINTAINERS b/MAINTAINERS
> []
> > @@ -13851,6 +13851,7 @@ F:	include/dt-bindings/reset/
> >  F:	include/linux/reset.h
> >  F:	include/linux/reset/
> >  F:	include/linux/reset-controller.h
> > +K:	\b(devm_|of_)?reset_control(ler_[a-z]+|_[a-z_]+)?\b
> 
> Please add ?: to each group so no capture is done.
> It's a little faster.
> 
> K:	\b(?:devm_|of_)?reset_control(?:ler_[a-z]+|_[a-z_]+)?\b

Thank you, fixed in v2.

regards
Philipp


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

end of thread, other threads:[~2019-10-22 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 12:38 [PATCH] MAINTAINERS: add reset controller framework keywords Philipp Zabel
2019-10-22 16:03 ` Joe Perches
2019-10-22 16:16   ` Philipp Zabel

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