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

Jonathan Cameron Jonathan.Cameron at Huawei.com
Thu Nov 17 08:01:56 PST 2022


On Thu, 17 Nov 2022 13:38:48 +0100
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> 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 at linaro.org>
LGTM

Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>

Oh for consistent capitalization though ;)





More information about the linux-mtd mailing list