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

Sebastian Reichel
2022-11-24T14:58:08Z

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

Hi,

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

...

> .../devicetree/bindings/power/supply/dlg,da9150-charger.yaml | 2 +-
> .../devicetree/bindings/power/supply/dlg,da9150-fuel-gauge.yaml | 2 +-
> .../devicetree/bindings/power/supply/ingenic,battery.yaml | 2 +-
> .../devicetree/bindings/power/supply/lltc,lt3651-charger.yaml | 2 +-
> .../devicetree/bindings/power/supply/sc2731-charger.yaml | 2 +-
> Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml | 2 +-

...

> diff --git a/Documentation/devicetree/bindings/power/supply/dlg,da9150-charger.yaml b/Documentation/devicetree/bindings/power/supply/dlg,da9150-charger.yaml
> index b289388952bf..85bebebb285b 100644
> --- a/Documentation/devicetree/bindings/power/supply/dlg,da9150-charger.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/dlg,da9150-charger.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/dlg,da9150-charger.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Dialog Semiconductor DA9150 Charger Power Supply bindings
> +title: Dialog Semiconductor DA9150 Charger Power Supply
>
> maintainers:
> - Sebastian Reichel <sre@kernel.org>
> diff --git a/Documentation/devicetree/bindings/power/supply/dlg,da9150-fuel-gauge.yaml b/Documentation/devicetree/bindings/power/supply/dlg,da9150-fuel-gauge.yaml
> index d47caf59d204..7cc94b872937 100644
> --- a/Documentation/devicetree/bindings/power/supply/dlg,da9150-fuel-gauge.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/dlg,da9150-fuel-gauge.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/dlg,da9150-fuel-gauge.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings
> +title: Dialog Semiconductor DA9150 Fuel-Gauge Power Supply
>
> maintainers:
> - Sebastian Reichel <sre@kernel.org>
> diff --git a/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml b/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml
> index 42fcfc026972..741022b4449d 100644
> --- a/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/ingenic,battery.yaml
> @@ -5,7 +5,7 @@
> $id: http://devicetree.org/schemas/power/supply/ingenic,battery.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Ingenic JZ47xx battery bindings
> +title: Ingenic JZ47xx battery
>
> maintainers:
> - Artur Rojek <contact@artur-rojek.eu>
> diff --git a/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml b/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml
> index 76cedf95a12c..d26ed5eabe28 100644
> --- a/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/lltc,lt3651-charger.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/lltc,lt3651-charger.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Analog Devices LT3651 Charger Power Supply bindings
> +title: Analog Devices LT3651 Charger Power Supply
>
> maintainers:
> - Sebastian Reichel <sre@kernel.org>
> diff --git a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
> index 735f7d372ae1..a846a4d14ca9 100644
> --- a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/sc2731-charger.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Spreadtrum SC2731 PMICs battery charger binding
> +title: Spreadtrum SC2731 PMICs battery charger
>
> maintainers:
> - Sebastian Reichel <sre@kernel.org>
> diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
> index d90a838a1744..de43e45a43b7 100644
> --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
> @@ -4,7 +4,7 @@
> $id: http://devicetree.org/schemas/power/supply/sc27xx-fg.yaml#
> $schema: http://devicetree.org/meta-schemas/core.yaml#
>
> -title: Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply Bindings
> +title: Spreadtrum SC27XX PMICs Fuel Gauge Unit Power Supply
>
> 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 --]