On Thu, 17 Nov 2022 13:38:48 +0100 Krzysztof Kozlowski krzysztof.kozlowski@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@linaro.org
LGTM
Reviewed-by: Jonathan Cameron Jonathan.Cameron@huawei.com
Oh for consistent capitalization though ;)