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

Sebastian Reichel sre at kernel.org
Thu Nov 24 15:57:55 CET 2022


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 at linaro.org>
> Acked-by: Alexandre Belloni <alexandre.belloni at 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 at 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 at 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 at 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 at 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 at 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 at kernel.org>

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

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20221124/7d7ed53f/attachment.sig>


More information about the Alsa-devel mailing list