power: supply: rt5033_battery: Change voltage values to uV
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH RESEND 1/1 power: supply: rt5033_battery: Change voltage values to uV
Currently the rt5033_battery driver provides voltage values in mV. It should be uV as stated in Documentation/power/power_supply_class.rst.
Fixes b847dd96e659 ("power: rt5033_battery: Add RT5033 Fuel gauge device driver")
Cc Beomho Seo <[email protected]>
Cc Chanwoo Choi <[email protected]>
Signed-off-by Jakob Hauser <[email protected]>
---
Replaced special character greek my by u because of encoding issues in e-mail.
drivers/power/supply/rt5033_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/supply/rt5033_battery.c +1 -1
@@ -60,7 +60,7 @@ static int rt5033_battery_get_watt_prop(struct i2c_client *client,regmap_read (battery->regmap, regh, &msb);regmap_read (battery->regmap, regl, &lsb); - ret = ((msb <<4 ) + (lsb >>4 )) *1250 /1000 ; + ret = ((msb <<4 ) + (lsb >>4 )) *1250 ;return ret; }
Signature · 1 line
2.33.0