Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04235175 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by Greg Kroah-Hartman
Browse files

power: supply: max17042_battery: fix typo in MAx17042_TOFF



[ Upstream commit ed0d0a0506025f06061325cedae1bbebd081620a ]

Signed-off-by: default avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent eb45ae88
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -726,7 +726,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);

+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ enum max17042_register {
	MAX17042_RelaxCFG	= 0x2A,
	MAX17042_MiscCFG	= 0x2B,
	MAX17042_TGAIN		= 0x2C,
	MAx17042_TOFF		= 0x2D,
	MAX17042_TOFF		= 0x2D,
	MAX17042_CGAIN		= 0x2E,
	MAX17042_COFF		= 0x2F,