]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
dt-bindings: drop redundant part of title (end, part two)
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 16 Dec 2022 16:38:11 +0000 (17:38 +0100)
committerRob Herring <robh@kernel.org>
Fri, 16 Dec 2022 17:41:49 +0000 (11:41 -0600)
commit9fa3ad1a1ab31da4887b48e68ad529af78f119b6
tree23f7dcd5c75e1600357f02857c67f9fba27a80e5
parenta612130ca1a650b0ba3599fc3199143eb9e7060d
dt-bindings: drop redundant part of title (end, part two)

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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Jonathan 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: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221216163815.522628-6-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
15 files changed:
Documentation/devicetree/bindings/clock/ti,sci-clk.yaml
Documentation/devicetree/bindings/cpu/idle-states.yaml
Documentation/devicetree/bindings/net/dsa/microchip,lan937x.yaml
Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
Documentation/devicetree/bindings/net/wireless/qca,ath9k.yaml
Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
Documentation/devicetree/bindings/phy/brcm,ns2-pcie-phy.yaml
Documentation/devicetree/bindings/phy/qcom,usb-hs-phy.yaml
Documentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml
Documentation/devicetree/bindings/power/domain-idle-state.yaml
Documentation/devicetree/bindings/reserved-memory/shared-dma-pool.yaml
Documentation/devicetree/bindings/reset/ti,sci-reset.yaml
Documentation/devicetree/bindings/reset/ti,tps380x-reset.yaml
Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml
Documentation/devicetree/bindings/sound/audio-graph-port.yaml