diff mbox series

power: supply: fix spelling typo

Message ID 1601088070-12790-1-git-send-email-wangqing@vivo.com
State Accepted
Commit 3f41e742ee9413b4d1f5d2edf3c71a5db0c87b81
Headers show
Series power: supply: fix spelling typo | expand

Commit Message

Qing Wang Sept. 26, 2020, 2:41 a.m. UTC
Modify the comment typo: "compliment" -> "complement".

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 drivers/power/supply/ds2780_battery.c | 6 +++---
 drivers/power/supply/ds2781_battery.c | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

Comments

Sebastian Reichel Sept. 29, 2020, 11:18 p.m. UTC | #1
Hi,

On Sat, Sep 26, 2020 at 10:41:07AM +0800, Wang Qing wrote:
> Modify the comment typo: "compliment" -> "complement".
> 
> Signed-off-by: Wang Qing <wangqing@vivo.com>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/ds2780_battery.c | 6 +++---
>  drivers/power/supply/ds2781_battery.c | 6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/power/supply/ds2780_battery.c b/drivers/power/supply/ds2780_battery.c
> index db3a254..dd57a47
> --- a/drivers/power/supply/ds2780_battery.c
> +++ b/drivers/power/supply/ds2780_battery.c
> @@ -160,7 +160,7 @@ static int ds2780_get_voltage(struct ds2780_device_info *dev_info,
>  
>  	/*
>  	 * The voltage value is located in 10 bits across the voltage MSB
> -	 * and LSB registers in two's compliment form
> +	 * and LSB registers in two's complement form
>  	 * Sign bit of the voltage value is in bit 7 of the voltage MSB register
>  	 * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the
>  	 * voltage MSB register
> @@ -188,7 +188,7 @@ static int ds2780_get_temperature(struct ds2780_device_info *dev_info,
>  
>  	/*
>  	 * The temperature value is located in 10 bits across the temperature
> -	 * MSB and LSB registers in two's compliment form
> +	 * MSB and LSB registers in two's complement form
>  	 * Sign bit of the temperature value is in bit 7 of the temperature
>  	 * MSB register
>  	 * Bits 9 - 3 of the temperature value are in bits 6 - 0 of the
> @@ -241,7 +241,7 @@ static int ds2780_get_current(struct ds2780_device_info *dev_info,
>  
>  	/*
>  	 * The current value is located in 16 bits across the current MSB
> -	 * and LSB registers in two's compliment form
> +	 * and LSB registers in two's complement form
>  	 * Sign bit of the current value is in bit 7 of the current MSB register
>  	 * Bits 14 - 8 of the current value are in bits 6 - 0 of the current
>  	 * MSB register
> diff --git a/drivers/power/supply/ds2781_battery.c b/drivers/power/supply/ds2781_battery.c
> index 130cbdf..3df3c82
> --- a/drivers/power/supply/ds2781_battery.c
> +++ b/drivers/power/supply/ds2781_battery.c
> @@ -168,7 +168,7 @@ static int ds2781_get_voltage(struct ds2781_device_info *dev_info,
>  		return ret;
>  	/*
>  	 * The voltage value is located in 10 bits across the voltage MSB
> -	 * and LSB registers in two's compliment form
> +	 * and LSB registers in two's complement form
>  	 * Sign bit of the voltage value is in bit 7 of the voltage MSB register
>  	 * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the
>  	 * voltage MSB register
> @@ -197,7 +197,7 @@ static int ds2781_get_temperature(struct ds2781_device_info *dev_info,
>  		return ret;
>  	/*
>  	 * The temperature value is located in 10 bits across the temperature
> -	 * MSB and LSB registers in two's compliment form
> +	 * MSB and LSB registers in two's complement form
>  	 * Sign bit of the temperature value is in bit 7 of the temperature
>  	 * MSB register
>  	 * Bits 9 - 3 of the temperature value are in bits 6 - 0 of the
> @@ -242,7 +242,7 @@ static int ds2781_get_current(struct ds2781_device_info *dev_info,
>  
>  	/*
>  	 * The current value is located in 16 bits across the current MSB
> -	 * and LSB registers in two's compliment form
> +	 * and LSB registers in two's complement form
>  	 * Sign bit of the current value is in bit 7 of the current MSB register
>  	 * Bits 14 - 8 of the current value are in bits 6 - 0 of the current
>  	 * MSB register
> -- 
> 2.7.4
>
diff mbox series

Patch

diff --git a/drivers/power/supply/ds2780_battery.c b/drivers/power/supply/ds2780_battery.c
index db3a254..dd57a47
--- a/drivers/power/supply/ds2780_battery.c
+++ b/drivers/power/supply/ds2780_battery.c
@@ -160,7 +160,7 @@  static int ds2780_get_voltage(struct ds2780_device_info *dev_info,
 
 	/*
 	 * The voltage value is located in 10 bits across the voltage MSB
-	 * and LSB registers in two's compliment form
+	 * and LSB registers in two's complement form
 	 * Sign bit of the voltage value is in bit 7 of the voltage MSB register
 	 * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the
 	 * voltage MSB register
@@ -188,7 +188,7 @@  static int ds2780_get_temperature(struct ds2780_device_info *dev_info,
 
 	/*
 	 * The temperature value is located in 10 bits across the temperature
-	 * MSB and LSB registers in two's compliment form
+	 * MSB and LSB registers in two's complement form
 	 * Sign bit of the temperature value is in bit 7 of the temperature
 	 * MSB register
 	 * Bits 9 - 3 of the temperature value are in bits 6 - 0 of the
@@ -241,7 +241,7 @@  static int ds2780_get_current(struct ds2780_device_info *dev_info,
 
 	/*
 	 * The current value is located in 16 bits across the current MSB
-	 * and LSB registers in two's compliment form
+	 * and LSB registers in two's complement form
 	 * Sign bit of the current value is in bit 7 of the current MSB register
 	 * Bits 14 - 8 of the current value are in bits 6 - 0 of the current
 	 * MSB register
diff --git a/drivers/power/supply/ds2781_battery.c b/drivers/power/supply/ds2781_battery.c
index 130cbdf..3df3c82
--- a/drivers/power/supply/ds2781_battery.c
+++ b/drivers/power/supply/ds2781_battery.c
@@ -168,7 +168,7 @@  static int ds2781_get_voltage(struct ds2781_device_info *dev_info,
 		return ret;
 	/*
 	 * The voltage value is located in 10 bits across the voltage MSB
-	 * and LSB registers in two's compliment form
+	 * and LSB registers in two's complement form
 	 * Sign bit of the voltage value is in bit 7 of the voltage MSB register
 	 * Bits 9 - 3 of the voltage value are in bits 6 - 0 of the
 	 * voltage MSB register
@@ -197,7 +197,7 @@  static int ds2781_get_temperature(struct ds2781_device_info *dev_info,
 		return ret;
 	/*
 	 * The temperature value is located in 10 bits across the temperature
-	 * MSB and LSB registers in two's compliment form
+	 * MSB and LSB registers in two's complement form
 	 * Sign bit of the temperature value is in bit 7 of the temperature
 	 * MSB register
 	 * Bits 9 - 3 of the temperature value are in bits 6 - 0 of the
@@ -242,7 +242,7 @@  static int ds2781_get_current(struct ds2781_device_info *dev_info,
 
 	/*
 	 * The current value is located in 16 bits across the current MSB
-	 * and LSB registers in two's compliment form
+	 * and LSB registers in two's complement form
 	 * Sign bit of the current value is in bit 7 of the current MSB register
 	 * Bits 14 - 8 of the current value are in bits 6 - 0 of the current
 	 * MSB register