Re: [PATCH phy-next 22/22] MAINTAINERS: add regex for linux-phy
From: Joe Perches
Date: Thu Mar 05 2026 - 04:34:44 EST
On Thu, 2026-03-05 at 10:51 +0200, Vladimir Oltean wrote:
> On Thu, Mar 05, 2026 at 09:39:35AM +0100, Konrad Dybcio wrote:
> diff --git a/MAINTAINERS b/MAINTAINERS
> > > index 55af015174a5..bdfa47d9c774 100644
> > > --- a/MAINTAINERS
> > > +++ b/MAINTAINERS
> > > @@ -10713,6 +10713,7 @@ F: Documentation/devicetree/bindings/phy/
> > > F: drivers/phy/
> > > F: include/dt-bindings/phy/
> > > F: include/linux/phy/
> > > +K: \b(devm_)?(of_)?phy_(create|destroy|init|exit|reset|power_(on|off)|configure|validate|calibrate|(get|set)_(mode|media|speed|bus_width|drvdata)|get_max_link_rate|pm_runtime_(get|put)|notify_(connect|disconnect|state)|get|put|optional_get|provider_(un)?register|simple_xlate|(create|remove)_lookup)\b|(struct\s+)?phy(_ops|_attrs|_lookup|_provider)?\b|linux/phy/phy\.h|phy-props\.h|phy-provider\.h
You could use multiple K: entries instead of this monster.
And please use (?:<foo>) to avoid capture groups too.