Re: [RFC PATCH 5/9] dt-bindings: drop redundant part of title (end, part two)

From: Jonathan Cameron
Date: Thu Nov 17 2022 - 10:59:16 EST


On Thu, 17 Nov 2022 13:38:46 +0100
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> wrote:

> The Devicetree bindings document does not have to say in the title that
> it is a "binding", but instead just describe the hardware.
>
> Drop trailing "Node|Tree|Generic 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: \(.*\) [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: \(.*\) [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: \(.*\) [gG]eneric [bB]indings\?\.\?$/title: \1/' {} \;
>
> find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
> -not -name 'trivial-devices.yaml' \
> -exec sed -i -e 's/^title: \(.*\) [bB]indings\? description\.\?$/title: \1/' {} \;
>
> find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
> -not -name 'trivial-devices.yaml' \
> -exec sed -i -e 's/^title: \(.*\) [bB]indings\? document\.\?$/title: \1/' {} \;
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

FWIW eyeballed these as well and all look good to me.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>