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

From: Jonathan Cameron
Date: Thu Nov 17 2022 - 11:02:27 EST


On Thu, 17 Nov 2022 13:38:48 +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 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>
LGTM

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

Oh for consistent capitalization though ;)