summaryrefslogtreecommitdiffstats
path: root/include/linux/power
diff options
context:
space:
mode:
authorHenrik Grimler <henrik@grimler.se>2021-09-29 20:14:18 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-10-02 17:49:11 +0200
commitd0c27c9211fef3ce8083cc3ad2ca3067d211edc9 (patch)
tree06fc1435bdb1aa65d97bc2318299c4fa76420877 /include/linux/power
parent223a3b82834f036a62aa831f67cbf1f1d644c6e2 (diff)
downloadlinux-d0c27c9211fef3ce8083cc3ad2ca3067d211edc9.tar.gz
linux-d0c27c9211fef3ce8083cc3ad2ca3067d211edc9.tar.bz2
linux-d0c27c9211fef3ce8083cc3ad2ca3067d211edc9.zip
power: supply: max17042_battery: fix typo in MAX17042_IAvg_empty
Datasheet gives the name IAvg_empty, not LAvg_empty. Signed-off-by: Henrik Grimler <henrik@grimler.se> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/power')
-rw-r--r--include/linux/power/max17042_battery.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/power/max17042_battery.h b/include/linux/power/max17042_battery.h
index dd24756a8af7..c417abd2ab70 100644
--- a/include/linux/power/max17042_battery.h
+++ b/include/linux/power/max17042_battery.h
@@ -78,7 +78,7 @@ enum max17042_register {
MAX17042_T_empty = 0x34,
MAX17042_FullCAP0 = 0x35,
- MAX17042_LAvg_empty = 0x36,
+ MAX17042_IAvg_empty = 0x36,
MAX17042_FCTC = 0x37,
MAX17042_RCOMP0 = 0x38,
MAX17042_TempCo = 0x39,
@@ -221,7 +221,7 @@ struct max17042_config_data {
u16 fullcap; /* 0x10 */
u16 fullcapnom; /* 0x23 */
u16 socempty; /* 0x33 */
- u16 lavg_empty; /* 0x36 */
+ u16 iavg_empty; /* 0x36 */
u16 dqacc; /* 0x45 */
u16 dpacc; /* 0x46 */
u16 qrtbl00; /* 0x12 */