mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
power: supply: max17042_battery: fix typo in MAx17042_TOFF
[ Upstream commit ed0d0a0506
]
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5d59f38c6b
commit
d0831db736
2 changed files with 2 additions and 2 deletions
|
@ -738,7 +738,7 @@ static inline void max17042_override_por_values(struct max17042_chip *chip)
|
||||||
struct max17042_config_data *config = chip->pdata->config_data;
|
struct max17042_config_data *config = chip->pdata->config_data;
|
||||||
|
|
||||||
max17042_override_por(map, MAX17042_TGAIN, config->tgain);
|
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_CGAIN, config->cgain);
|
||||||
max17042_override_por(map, MAX17042_COFF, config->coff);
|
max17042_override_por(map, MAX17042_COFF, config->coff);
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ enum max17042_register {
|
||||||
MAX17042_RelaxCFG = 0x2A,
|
MAX17042_RelaxCFG = 0x2A,
|
||||||
MAX17042_MiscCFG = 0x2B,
|
MAX17042_MiscCFG = 0x2B,
|
||||||
MAX17042_TGAIN = 0x2C,
|
MAX17042_TGAIN = 0x2C,
|
||||||
MAx17042_TOFF = 0x2D,
|
MAX17042_TOFF = 0x2D,
|
||||||
MAX17042_CGAIN = 0x2E,
|
MAX17042_CGAIN = 0x2E,
|
||||||
MAX17042_COFF = 0x2F,
|
MAX17042_COFF = 0x2F,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue