dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax
Subsystems (4)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: devfreq: samsung,exynos-ppmu: Use standard regex syntax
The "{,N}" regex syntax is non-standard, but happens to be supported by python re module. It is equivalent to "{0,N}" which is more commonly supported. This fixes using a rust implementation of the DT schema tools.
--- .../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml +1 -1
@@ -40,7 +40,7 @@ properties: type: object patternProperties: - '^ppmu-event[0-9]+(-[a-z0-9]+){,2}$': + '^ppmu-event[0-9]+(-[a-z0-9]+){0,2}$': type: object properties: event-name:
Signature · 1 line
2.53.0
Quoted 9 lines · Rob Herring (Arm)
The "{,N}" regex syntax is non-standard, but happens to be supported by python re module. It is equivalent to "{0,N}" which is more commonly supported. This fixes using a rust implementation of the DT schema tools.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Best regards,
Krzysztof
Quoted 9 lines · Rob Herring (Arm)
The "{,N}" regex syntax is non-standard, but happens to be supported by python re module. It is equivalent to "{0,N}" which is more commonly supported. This fixes using a rust implementation of the DT schema tools.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../devicetree/bindings/devfreq/event/samsung,exynos-ppmu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Rob