Quoting Krzysztof Kozlowski (2022-11-21 03:06:10)
The Devicetree bindings document does not have to say in the title that it is a "Devicetree binding", but instead just describe the hardware.
Drop trailing "Devicetree bindings" in various forms (also with trailling full stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: (.*) [dD]evice[ -]?[tT]ree [bB]indings?.?$/title: \1/' {} ;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: (.*) [dD]evice[ -]?[nN]ode [bB]indings?.?$/title: \1/' {} ;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \ -not -name 'trivial-devices.yaml' \ -exec sed -i -e 's/^title: (.*) [dD][tT] [bB]indings?.?$/title: \1/' {} ;
Signed-off-by: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org Acked-by: Alexandre Belloni alexandre.belloni@bootlin.com Acked-by: Jonathan Cameron Jonathan.Cameron@huawei.com # IIO Reviewed-by: Jonathan Cameron Jonathan.Cameron@huawei.com
Documentation/devicetree/bindings/clock/ingenic,cgu.yaml | 2 +- .../devicetree/bindings/clock/renesas,versaclock7.yaml | 2 +-
diff --git a/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml b/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml index df256ebcd366..9e733b10c392 100644 --- a/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml +++ b/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/clock/ingenic,cgu.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Ingenic SoCs CGU devicetree bindings +title: Ingenic SoCs CGU
description: | The CGU in an Ingenic SoC provides all the clocks generated on-chip. It diff --git a/Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml b/Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml index 8d4eb4475fc8..b339f1f9f072 100644 --- a/Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml +++ b/Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/clock/renesas,versaclock7.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Renesas Versaclock7 Programmable Clock Device Tree Bindings +title: Renesas Versaclock7 Programmable Clock
maintainers:
- Alex Helms alexander.helms.jy@renesas.com
Acked-by: Stephen Boyd sboyd@kernel.org # clk