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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> ---

...

>  .../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@xxxxxxxxxx>
> 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@xxxxxxxxxx>
> 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@xxxxxxxxxxxxxx>
> 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@xxxxxxxxxx>
> 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@xxxxxxxxxx>
> 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@xxxxxxxxxx>

Acked-by: Sebastian Reichel <sre@xxxxxxxxxx>

-- Sebastian

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux