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

Stephen Boyd sboyd at kernel.org
Tue Nov 22 17:12:12 PST 2022


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 at linaro.org>
> Acked-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron at 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 +-

Acked-by: Stephen Boyd <sboyd at kernel.org> # clk



More information about the linux-mtd mailing list