[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221117155855.000066f7@Huawei.com>
Date: Thu, 17 Nov 2022 15:58:55 +0000
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
CC: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andrew Lunn <andrew@...n.ch>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-clk@...r.kernel.org>,
<linux-riscv@...ts.infradead.org>, <linux-arm-msm@...r.kernel.org>,
<linux-pm@...r.kernel.org>, <linux-gpio@...r.kernel.org>,
<linux-iio@...r.kernel.org>, <linux-input@...r.kernel.org>,
<linux-leds@...r.kernel.org>, <linux-media@...r.kernel.org>,
<linux-mips@...r.kernel.org>, <linux-mmc@...r.kernel.org>,
<linux-mtd@...ts.infradead.org>, <netdev@...r.kernel.org>,
<linux-can@...r.kernel.org>, <linux-pci@...r.kernel.org>,
<linux-pwm@...r.kernel.org>, <linux-rtc@...r.kernel.org>,
<linux-serial@...r.kernel.org>, <alsa-devel@...a-project.org>,
<linux-spi@...r.kernel.org>, <linux-usb@...r.kernel.org>,
<virtualization@...ts.linux-foundation.org>,
<linux-watchdog@...r.kernel.org>
Subject: Re: [RFC PATCH 5/9] dt-bindings: drop redundant part of title (end,
part two)
On Thu, 17 Nov 2022 13:38:46 +0100
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org> wrote:
> 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
> trailling 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@...aro.org>
FWIW eyeballed these as well and all look good to me.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Powered by blists - more mailing lists