Re: [PATCH v2 4/9] dt-bindings: drop redundant part of title (end)

Sebastian Reichel
2022-11-24T14:55:13Z

[-- Attachment #1: Type: text/plain, Size: 3487 bytes --]

Hi,

On Mon, Nov 21, 2022 at 12:06:10PM +0100, Krzysztof Kozlowski 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 trailing "Devicetree 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: \(.*\) [dD]evice[ -]\?[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: \(.*\) [dD]evice[ -]\?[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: \(.*\) [dD][tT] [bB]indings\?\.\?$/title: \1/' {} \;
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # IIO
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---

...

> .../devicetree/bindings/power/reset/xlnx,zynqmp-power.yaml | 2 +-
> .../devicetree/bindings/power/supply/maxim,ds2760.yaml | 2 +-
> .../devicetree/bindings/power/supply/maxim,max14656.yaml | 2 +-

...

> diff --git a/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.yaml b/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.yaml
> index 46de35861738..11f1f98c1cdc 100644
> --- a/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.yaml
> +++ b/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/reset/xlnx,zynqmp-power.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Xilinx Zynq MPSoC Power Management Device Tree Bindings
> +title: Xilinx Zynq MPSoC Power Management
>
> maintainers:
> - Michal Simek <michal.simek@xilinx.com>
> diff --git a/Documentation/devicetree/bindings/power/supply/maxim,ds2760.yaml b/Documentation/devicetree/bindings/power/supply/maxim,ds2760.yaml
> index c838efcf7e16..5faa2418fe2f 100644
> --- a/Documentation/devicetree/bindings/power/supply/maxim,ds2760.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/maxim,ds2760.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/maxim,ds2760.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Maxim DS2760 DT bindings
> +title: Maxim DS2760
>
> maintainers:
> - Sebastian Reichel <sre@kernel.org>
> diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml
> index 070ef6f96e60..711066b8cdb9 100644
> --- a/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Maxim MAX14656 DT bindings
> +title: Maxim MAX14656
>
> maintainers:
> - Sebastian Reichel <sre@kernel.org>

Acked-by: Sebastian Reichel <sre@kernel.org>

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]