* [PATCH] power: supply: Fix repeated word in comments
@ 2022-08-26 10:00 Jules Maselbas
2022-09-11 12:20 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: Jules Maselbas @ 2022-08-26 10:00 UTC (permalink / raw)
To: linux-kernel; +Cc: Jules Maselbas, Sebastian Reichel, linux-pm
Remove redundant word `the`.
CC: Sebastian Reichel <sre@kernel.org>
CC: linux-pm@vger.kernel.org
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
---
drivers/power/supply/power_supply_sysfs.c | 2 +-
drivers/power/supply/tps65217_charger.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c
index 4239591e1522..5369abaceb5c 100644
--- a/drivers/power/supply/power_supply_sysfs.c
+++ b/drivers/power/supply/power_supply_sysfs.c
@@ -442,7 +442,7 @@ static int add_prop_uevent(struct device *dev, struct kobj_uevent_env *env,
if (ret == -ENODEV || ret == -ENODATA) {
/*
* When a battery is absent, we expect -ENODEV. Don't abort;
- * send the uevent with at least the the PRESENT=0 property
+ * send the uevent with at least the PRESENT=0 property
*/
return 0;
}
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.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: Fix repeated word in comments
2022-08-26 10:00 [PATCH] power: supply: Fix repeated word in comments Jules Maselbas
@ 2022-09-11 12:20 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2022-09-11 12:20 UTC (permalink / raw)
To: Jules Maselbas; +Cc: linux-kernel, linux-pm
[-- Attachment #1: Type: text/plain, Size: 1935 bytes --]
Hi,
On Fri, Aug 26, 2022 at 12:00:45PM +0200, Jules Maselbas wrote:
> Remove redundant word `the`.
>
> CC: Sebastian Reichel <sre@kernel.org>
> CC: linux-pm@vger.kernel.org
> Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
> ---
Thanks, queued.
-- Sebastian
> drivers/power/supply/power_supply_sysfs.c | 2 +-
> drivers/power/supply/tps65217_charger.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c
> index 4239591e1522..5369abaceb5c 100644
> --- a/drivers/power/supply/power_supply_sysfs.c
> +++ b/drivers/power/supply/power_supply_sysfs.c
> @@ -442,7 +442,7 @@ static int add_prop_uevent(struct device *dev, struct kobj_uevent_env *env,
> if (ret == -ENODEV || ret == -ENODATA) {
> /*
> * When a battery is absent, we expect -ENODEV. Don't abort;
> - * send the uevent with at least the the PRESENT=0 property
> + * send the uevent with at least the PRESENT=0 property
> */
> return 0;
> }
> 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.17.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-12 10:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 10:00 [PATCH] power: supply: Fix repeated word in comments Jules Maselbas
2022-09-11 12:20 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).