• Krzysztof Kozlowski's avatar
    dt-bindings: drop redundant part of title (end, part two) · 9fa3ad1a
    Krzysztof Kozlowski authored
    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
    trailing 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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Acked-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
    Reviewed-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
    Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # MMC
    Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
    Acked-by: Vinod Koul <vkoul@kernel.org> # phy
    Acked-by: default avatarMark Brown <broonie@kernel.org>
    Link: https://lore.kernel.org/r/20221216163815.522628-6-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
    9fa3ad1a
mediatek,mt76.yaml 8.56 KB