2022-08-31 16:26:09

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] power: supply: tps65217: Fix comments typo

Delete the unneeded word "the" in comments.

Signed-off-by: Shaomin Deng <[email protected]>
---
drivers/power/supply/tps65217_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supply/tps65217_charger.c
index ba33d1617e0b..a4bc9f2a10bc 100644
--- a/drivers/power/supply/tps65217_charger.c
+++ b/drivers/power/supply/tps65217_charger.c
@@ -50,7 +50,7 @@ static int tps65217_config_charger(struct tps65217_charger *charger)
* tps65217 rev. G, p. 31 (see p. 32 for NTC schematic)
*
* The device can be configured to support a 100k NTC (B = 3960) by
- * setting the the NTC_TYPE bit in register CHGCONFIG1 to 1. However it
+ * setting the NTC_TYPE bit in register CHGCONFIG1 to 1. However it
* is not recommended to do so. In sleep mode, the charger continues
* charging the battery, but all register values are reset to default
* values. Therefore, the charger would get the wrong temperature
--
2.35.1


2022-09-12 10:30:40

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH] power: supply: tps65217: Fix comments typo

Hi,

On Wed, Aug 31, 2022 at 11:49:05AM -0400, Shaomin Deng wrote:
> Delete the unneeded word "the" in comments.
>
> Signed-off-by: Shaomin Deng <[email protected]>
> ---

Thanks, queued.

-- Sebastian

> drivers/power/supply/tps65217_charger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supply/tps65217_charger.c
> index ba33d1617e0b..a4bc9f2a10bc 100644
> --- a/drivers/power/supply/tps65217_charger.c
> +++ b/drivers/power/supply/tps65217_charger.c
> @@ -50,7 +50,7 @@ static int tps65217_config_charger(struct tps65217_charger *charger)
> * tps65217 rev. G, p. 31 (see p. 32 for NTC schematic)
> *
> * The device can be configured to support a 100k NTC (B = 3960) by
> - * setting the the NTC_TYPE bit in register CHGCONFIG1 to 1. However it
> + * setting the NTC_TYPE bit in register CHGCONFIG1 to 1. However it
> * is not recommended to do so. In sleep mode, the charger continues
> * charging the battery, but all register values are reset to default
> * values. Therefore, the charger would get the wrong temperature
> --
> 2.35.1
>


Attachments:
(No filename) (1.16 kB)
signature.asc (849.00 B)
Download all attachments