Re: [PATCH v2 7/9] dt-bindings: drop redundant part of title (beginning)

Stephen Boyd
2022-11-23T01:14:00Z

Quoting Krzysztof Kozlowski (2022-11-21 03:06:13)
> 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 beginning "Devicetree bindings" in various forms:
>
> find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
> -exec sed -i -e 's/^title: [dD]evice[ -]\?[tT]ree [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
>
> find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
> -exec sed -i -e 's/^title: [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
>
> find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
> -exec sed -i -e 's/^title: [dD][tT] [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
> Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml | 2 +-
> Documentation/devicetree/bindings/clock/fixed-clock.yaml | 2 +-
> Documentation/devicetree/bindings/clock/fixed-factor-clock.yaml | 2 +-
> Documentation/devicetree/bindings/clock/fixed-mmio-clock.yaml | 2 +-
> Documentation/devicetree/bindings/clock/idt,versaclock5.yaml | 2 +-
> Documentation/devicetree/bindings/clock/renesas,9series.yaml | 2 +-
> Documentation/devicetree/bindings/clock/ti/ti,clksel.yaml | 2 +-