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

From: Stephen Boyd
Date: Tue Nov 22 2022 - 20:14:00 EST


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@xxxxxxxxxx>
> Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> ---
> 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 +-

Acked-by: Stephen Boyd <sboyd@xxxxxxxxxx> # clk