diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-11-20 18:53:18 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-11-22 19:16:25 +0300 |
commit | 2a5f41830aadc2d7f4145eae49381133da5df2a3 (patch) | |
tree | 292edd94a9347125058f1d634c92434780dc84a6 /net/tipc/group.c | |
parent | 2d3559a50ad6d21552ed2434889bc568acfa2a83 (diff) | |
download | linux-2a5f41830aadc2d7f4145eae49381133da5df2a3.tar.xz |
power: supply: ab8500: Standardize voltages
The nominal voltage in this charge driver corresponds to
both the voltage_min_design_uv and voltage_max_design_uv
of struct power_supply_battery_info so assign both if this
is undefined.
The overcharge max voltage (when the charger should cut off)
is migrated at the same time so we move both voltages to
struct power_supply_battery_info.
Adjust the code to deal directly with the microvolt values
instead of converting them to millivolts.
Add *_uv suffixes for clarity and to make sure we have
changed all code sites using this member.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'net/tipc/group.c')
0 files changed, 0 insertions, 0 deletions