summaryrefslogtreecommitdiff
path: root/drivers/power/supply/max17042_battery.c
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>2021-08-16 19:50:14 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-08-17 16:33:52 +0300
commited0d0a0506025f06061325cedae1bbebd081620a (patch)
treecbb8013df067720a1f127f5bb75421787c0560f5 /drivers/power/supply/max17042_battery.c
parent1e4f30eaf4b81252bbd462cf7e95a08959f5bebd (diff)
downloadlinux-ed0d0a0506025f06061325cedae1bbebd081620a.tar.xz
power: supply: max17042_battery: fix typo in MAx17042_TOFF
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/max17042_battery.c')
-rw-r--r--drivers/power/supply/max17042_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
index 01e6728a9e2b..eeccc365fe54 100644
--- a/drivers/power/supply/max17042_battery.c
+++ b/drivers/power/supply/max17042_battery.c
@@ -744,7 +744,7 @@ static inline void max17042_override_por_values(struct max17042_chip *chip)
struct max17042_config_data *config = chip->pdata->config_data;
max17042_override_por(map, MAX17042_TGAIN, config->tgain);
- max17042_override_por(map, MAx17042_TOFF, config->toff);
+ max17042_override_por(map, MAX17042_TOFF, config->toff);
max17042_override_por(map, MAX17042_CGAIN, config->cgain);
max17042_override_por(map, MAX17042_COFF, config->coff);