linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] power: supply: Trivial spelling fixes
@ 2021-03-23 12:42 Bhaskar Chowdhury
  2021-03-23 17:47 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-23 12:42 UTC (permalink / raw)
  To: sre, linux-pm, linux-kernel; +Cc: rdunlap, Bhaskar Chowdhury

Few trivial spelling fixes .

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 drivers/power/supply/max17042_battery.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
index 79d4b5988360..1d7326cd8fc6 100644
--- a/drivers/power/supply/max17042_battery.c
+++ b/drivers/power/supply/max17042_battery.c
@@ -131,7 +131,7 @@ static int max17042_get_status(struct max17042_chip *chip, int *status)
 	 *
 	 * When this cycle the battery gets charged to a higher (calculated)
 	 * capacity then the previous cycle then FullCAP will get updated
-	 * contineously once end-of-charge detection kicks in, so allow the
+	 * continuously once end-of-charge detection kicks in, so allow the
 	 * 2 to differ a bit.
 	 */

@@ -739,7 +739,7 @@ static void max17042_load_new_capacity_params(struct max17042_chip *chip)

 /*
  * Block write all the override values coming from platform data.
- * This function MUST be called before the POR initialization proceedure
+ * This function MUST be called before the POR initialization procedure
  * specified by maxim.
  */
 static inline void max17042_override_por_values(struct max17042_chip *chip)
@@ -811,7 +811,7 @@ static int max17042_init_chip(struct max17042_chip *chip)
 	 */
 	msleep(500);

-	/* Initialize configaration */
+	/* Initialize configuration */
 	max17042_write_config_regs(chip);

 	/* write cell characterization data */
@@ -855,7 +855,7 @@ static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off)
 	struct regmap *map = chip->regmap;
 	u32 soc, soc_tr;

-	/* program interrupt thesholds such that we should
+	/* program interrupt thresholds such that we should
 	 * get interrupt for every 'off' perc change in the soc
 	 */
 	regmap_read(map, MAX17042_RepSOC, &soc);
--
2.30.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] power: supply: Trivial spelling fixes
  2021-03-23 12:42 [PATCH] power: supply: Trivial spelling fixes Bhaskar Chowdhury
@ 2021-03-23 17:47 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-23 17:47 UTC (permalink / raw)
  To: Bhaskar Chowdhury, sre, linux-pm, linux-kernel

On 3/23/21 5:42 AM, Bhaskar Chowdhury wrote:
> Few trivial spelling fixes .
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>


> ---
>  drivers/power/supply/max17042_battery.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
> index 79d4b5988360..1d7326cd8fc6 100644
> --- a/drivers/power/supply/max17042_battery.c
> +++ b/drivers/power/supply/max17042_battery.c
> @@ -131,7 +131,7 @@ static int max17042_get_status(struct max17042_chip *chip, int *status)
>  	 *
>  	 * When this cycle the battery gets charged to a higher (calculated)
>  	 * capacity then the previous cycle then FullCAP will get updated
> -	 * contineously once end-of-charge detection kicks in, so allow the
> +	 * continuously once end-of-charge detection kicks in, so allow the
>  	 * 2 to differ a bit.
>  	 */
> 
> @@ -739,7 +739,7 @@ static void max17042_load_new_capacity_params(struct max17042_chip *chip)
> 
>  /*
>   * Block write all the override values coming from platform data.
> - * This function MUST be called before the POR initialization proceedure
> + * This function MUST be called before the POR initialization procedure
>   * specified by maxim.
>   */
>  static inline void max17042_override_por_values(struct max17042_chip *chip)
> @@ -811,7 +811,7 @@ static int max17042_init_chip(struct max17042_chip *chip)
>  	 */
>  	msleep(500);
> 
> -	/* Initialize configaration */
> +	/* Initialize configuration */
>  	max17042_write_config_regs(chip);
> 
>  	/* write cell characterization data */
> @@ -855,7 +855,7 @@ static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off)
>  	struct regmap *map = chip->regmap;
>  	u32 soc, soc_tr;
> 
> -	/* program interrupt thesholds such that we should
> +	/* program interrupt thresholds such that we should
>  	 * get interrupt for every 'off' perc change in the soc
>  	 */
>  	regmap_read(map, MAX17042_RepSOC, &soc);
> --


-- 
~Randy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-23 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 12:42 [PATCH] power: supply: Trivial spelling fixes Bhaskar Chowdhury
2021-03-23 17:47 ` Randy Dunlap

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).