diff mbox series

[1/2] dt-bindings: power: supply: bq25890: Indent example with tabs

Message ID 20200617102305.14241-1-krzk@kernel.org
State Not Applicable, archived
Headers show
Series [1/2] dt-bindings: power: supply: bq25890: Indent example with tabs | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Krzysztof Kozlowski June 17, 2020, 10:23 a.m. UTC
Fix example indentation to tabs to follow generic Linux coding style.
This avoids copying the space indentation to DTS when re-using the
example.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../bindings/power/supply/bq25890.txt         | 22 +++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Comments

Sebastian Reichel June 19, 2020, 2:38 p.m. UTC | #1
Hi,

On Wed, Jun 17, 2020 at 12:23:04PM +0200, Krzysztof Kozlowski wrote:
> Fix example indentation to tabs to follow generic Linux coding style.
> This avoids copying the space indentation to DTS when re-using the
> example.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---

Thanks, queued.

-- Sebastian

>  .../bindings/power/supply/bq25890.txt         | 22 +++++++++----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.txt b/Documentation/devicetree/bindings/power/supply/bq25890.txt
> index dc9c8f76e06c..51ecc756521f 100644
> --- a/Documentation/devicetree/bindings/power/supply/bq25890.txt
> +++ b/Documentation/devicetree/bindings/power/supply/bq25890.txt
> @@ -36,17 +36,17 @@ Optional properties:
>  Example:
>  
>  bq25890 {
> -        compatible = "ti,bq25890";
> -        reg = <0x6a>;
> +	compatible = "ti,bq25890";
> +	reg = <0x6a>;
>  
> -        ti,battery-regulation-voltage = <4200000>;
> -        ti,charge-current = <1000000>;
> -        ti,termination-current = <50000>;
> -        ti,precharge-current = <128000>;
> -        ti,minimum-sys-voltage = <3600000>;
> -        ti,boost-voltage = <5000000>;
> -        ti,boost-max-current = <1000000>;
> +	ti,battery-regulation-voltage = <4200000>;
> +	ti,charge-current = <1000000>;
> +	ti,termination-current = <50000>;
> +	ti,precharge-current = <128000>;
> +	ti,minimum-sys-voltage = <3600000>;
> +	ti,boost-voltage = <5000000>;
> +	ti,boost-max-current = <1000000>;
>  
> -        ti,use-ilim-pin;
> -        ti,thermal-regulation-threshold = <120>;
> +	ti,use-ilim-pin;
> +	ti,thermal-regulation-threshold = <120>;
>  };
> -- 
> 2.17.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.txt b/Documentation/devicetree/bindings/power/supply/bq25890.txt
index dc9c8f76e06c..51ecc756521f 100644
--- a/Documentation/devicetree/bindings/power/supply/bq25890.txt
+++ b/Documentation/devicetree/bindings/power/supply/bq25890.txt
@@ -36,17 +36,17 @@  Optional properties:
 Example:
 
 bq25890 {
-        compatible = "ti,bq25890";
-        reg = <0x6a>;
+	compatible = "ti,bq25890";
+	reg = <0x6a>;
 
-        ti,battery-regulation-voltage = <4200000>;
-        ti,charge-current = <1000000>;
-        ti,termination-current = <50000>;
-        ti,precharge-current = <128000>;
-        ti,minimum-sys-voltage = <3600000>;
-        ti,boost-voltage = <5000000>;
-        ti,boost-max-current = <1000000>;
+	ti,battery-regulation-voltage = <4200000>;
+	ti,charge-current = <1000000>;
+	ti,termination-current = <50000>;
+	ti,precharge-current = <128000>;
+	ti,minimum-sys-voltage = <3600000>;
+	ti,boost-voltage = <5000000>;
+	ti,boost-max-current = <1000000>;
 
-        ti,use-ilim-pin;
-        ti,thermal-regulation-threshold = <120>;
+	ti,use-ilim-pin;
+	ti,thermal-regulation-threshold = <120>;
 };