aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2023-03-17 23:56:57 +0100
committerSebastian Reichel <sre@kernel.org>2023-03-29 22:38:56 +0200
commit44263f50065969f2344808388bd589740f026167 (patch)
tree1c4d4eb8b3a7238d21f9a254873707fcd111b3d1 /drivers/fpga/fpga-mgr.c
parent93297ef6920f071ed109cbdcf640edfc693d0456 (diff)
downloadlinux-44263f50065969f2344808388bd589740f026167.tar.gz
linux-44263f50065969f2344808388bd589740f026167.tar.bz2
linux-44263f50065969f2344808388bd589740f026167.zip
power: supply: generic-adc-battery: fix unit scaling
power-supply properties are reported in µV, µA and µW. The IIO API provides mV, mA, mW, so the values need to be multiplied by 1000. Fixes: e60fea794e6e ("power: battery: Generic battery driver using IIO") Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions