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

From: Jonathan Cameron
Date: Thu Nov 17 2022 - 10:37:40 EST


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

> 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@xxxxxxxxxx>
> ---
I eyeballed the lot and all seem fine to me so
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>