mfd: rn5t618: Fix caching of battery related registers
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 17 Jul 2020 21:00:02 +0000 (23:00 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 13 Aug 2020 06:50:02 +0000 (07:50 +0100)
commit594f1935b373019aacaff00929ae61fec0ec83a5
treea724a891c3183c24e4ad49b14ba6b901cd2811d6
parente7b85500885f2a70129f5d3a72153e23b37d0fe5
mfd: rn5t618: Fix caching of battery related registers

Battery status changes dynamically, so the corresponding registers
need to be considered volatile. Affected registers are:

 - fuel gauge
 - battery status
 - battery interrupt

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/rn5t618.c