Commit 37ad56aa authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Sebastian Reichel

power: supply: max17042: Trivial spelling fixes

Few trivial spelling fixes.
Signed-off-by: default avatarBhaskar Chowdhury <unixbhaskar@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent f735e836
...@@ -131,7 +131,7 @@ static int max17042_get_status(struct max17042_chip *chip, int *status) ...@@ -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) * When this cycle the battery gets charged to a higher (calculated)
* capacity then the previous cycle then FullCAP will get updated * 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. * 2 to differ a bit.
*/ */
...@@ -739,7 +739,7 @@ static void max17042_load_new_capacity_params(struct max17042_chip *chip) ...@@ -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. * 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. * specified by maxim.
*/ */
static inline void max17042_override_por_values(struct max17042_chip *chip) static inline void max17042_override_por_values(struct max17042_chip *chip)
...@@ -811,7 +811,7 @@ static int max17042_init_chip(struct max17042_chip *chip) ...@@ -811,7 +811,7 @@ static int max17042_init_chip(struct max17042_chip *chip)
*/ */
msleep(500); msleep(500);
/* Initialize configaration */ /* Initialize configuration */
max17042_write_config_regs(chip); max17042_write_config_regs(chip);
/* write cell characterization data */ /* write cell characterization data */
...@@ -855,7 +855,7 @@ static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off) ...@@ -855,7 +855,7 @@ static void max17042_set_soc_threshold(struct max17042_chip *chip, u16 off)
struct regmap *map = chip->regmap; struct regmap *map = chip->regmap;
u32 soc, soc_tr; 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 * get interrupt for every 'off' perc change in the soc
*/ */
regmap_read(map, MAX17042_RepSOC, &soc); regmap_read(map, MAX17042_RepSOC, &soc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment