diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-12-26 13:59:06 +0100 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2018-01-08 18:38:57 +0100 |
commit | 9563d054168c475b43bd5165dd952ea3187cac6a (patch) | |
tree | 295c0217d7e81e3252ffc388ccbbbd7ff777533c /block/bio.c | |
parent | power: supply: axp288_charger: Do not cache input current limit value (diff) | |
download | linux-9563d054168c475b43bd5165dd952ea3187cac6a.tar.xz linux-9563d054168c475b43bd5165dd952ea3187cac6a.zip |
power: supply: axp288_charger: Pick lower input current limit not higher
The code before this commit would pick 900 mA when asking for an input
current limit of 600mA, rather then 500 mA, not good.
While touching almost all code using the silly xxxMA defines anyways,
also get rid of these simply typing out the numbers and switch the
unit to uA as that is the psy class standard unit for currents.
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions