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

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

 



Hi,

On Mon, Nov 21, 2022 at 12:06:13PM +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 beginning "Devicetree bindings" in various forms:
> 
>   find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
>     -exec sed -i -e 's/^title: [dD]evice[ -]\?[tT]ree [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
> 
>   find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
>     -exec sed -i -e 's/^title: [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
> 
>   find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
>     -exec sed -i -e 's/^title: [dD][tT] [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> ---

...

>  Documentation/devicetree/bindings/power/supply/bq2415x.yaml     | 2 +-
>  Documentation/devicetree/bindings/power/supply/bq24190.yaml     | 2 +-
>  Documentation/devicetree/bindings/power/supply/bq24257.yaml     | 2 +-
>  Documentation/devicetree/bindings/power/supply/bq24735.yaml     | 2 +-
>  Documentation/devicetree/bindings/power/supply/bq25890.yaml     | 2 +-
>  Documentation/devicetree/bindings/power/supply/isp1704.yaml     | 2 +-
>  .../devicetree/bindings/power/supply/lltc,ltc294x.yaml          | 2 +-
>  .../devicetree/bindings/power/supply/richtek,rt9455.yaml        | 2 +-
>  Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml   | 2 +-

...

> diff --git a/Documentation/devicetree/bindings/power/supply/bq2415x.yaml b/Documentation/devicetree/bindings/power/supply/bq2415x.yaml
> index a3c00e078918..f7287ffd4b12 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq2415x.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/bq2415x.yaml
> @@ -5,7 +5,7 @@
>  $id: http://devicetree.org/schemas/power/supply/bq2415x.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for TI bq2415x Li-Ion Charger
> +title: TI bq2415x Li-Ion Charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/bq24190.yaml b/Documentation/devicetree/bindings/power/supply/bq24190.yaml
> index 4884ec90e2b8..001c0ffb408d 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq24190.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/bq24190.yaml
> @@ -5,7 +5,7 @@
>  $id: http://devicetree.org/schemas/power/supply/bq24190.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for TI BQ2419x Li-Ion Battery Charger
> +title: TI BQ2419x Li-Ion Battery Charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/bq24257.yaml b/Documentation/devicetree/bindings/power/supply/bq24257.yaml
> index c7406bef0fa8..cc45939d385b 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq24257.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/bq24257.yaml
> @@ -5,7 +5,7 @@
>  $id: http://devicetree.org/schemas/power/supply/bq24257.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for bq24250, bq24251 and bq24257 Li-Ion Charger
> +title: Bq24250, bq24251 and bq24257 Li-Ion Charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/bq24735.yaml b/Documentation/devicetree/bindings/power/supply/bq24735.yaml
> index dd9176ce71b3..388ee16f8a1e 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq24735.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/bq24735.yaml
> @@ -5,7 +5,7 @@
>  $id: http://devicetree.org/schemas/power/supply/bq24735.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for TI BQ24735 Li-Ion Battery Charger
> +title: TI BQ24735 Li-Ion Battery Charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.yaml b/Documentation/devicetree/bindings/power/supply/bq25890.yaml
> index ee51b6335e72..dae27e93af09 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq25890.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/bq25890.yaml
> @@ -5,7 +5,7 @@
>  $id: http://devicetree.org/schemas/power/supply/bq25890.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
> +title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/isp1704.yaml b/Documentation/devicetree/bindings/power/supply/isp1704.yaml
> index 7e3449ed70d4..fb3a812aa5a9 100644
> --- a/Documentation/devicetree/bindings/power/supply/isp1704.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/isp1704.yaml
> @@ -5,7 +5,7 @@
>  $id: http://devicetree.org/schemas/power/supply/isp1704.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for NXP ISP1704 USB Charger Detection
> +title: NXP ISP1704 USB Charger Detection
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml b/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml
> index 109b41a0d56c..774582cd3a2c 100644
> --- a/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml
> @@ -4,7 +4,7 @@
>  $id: http://devicetree.org/schemas/power/supply/lltc,ltc294x.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges
> +title: LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges
>  
>  description: |
>    All chips measure battery capacity.
> diff --git a/Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml b/Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml
> index bce15101318e..27bebc1757ba 100644
> --- a/Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/richtek,rt9455.yaml
> @@ -4,7 +4,7 @@
>  $id: http://devicetree.org/schemas/power/supply/richtek,rt9455.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for Richtek rt9455 battery charger
> +title: Richtek rt9455 battery charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>
> diff --git a/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml b/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml
> index 93654e732cda..ce6fbdba8f6b 100644
> --- a/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/ti,lp8727.yaml
> @@ -4,7 +4,7 @@
>  $id: http://devicetree.org/schemas/power/supply/ti,lp8727.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Binding for TI/National Semiconductor LP8727 Charger
> +title: TI/National Semiconductor LP8727 Charger
>  
>  maintainers:
>    - Sebastian Reichel <sre@xxxxxxxxxx>

Acked-by: Sebastian Reichel <sre@xxxxxxxxxx>

-- Sebastian

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux