diff options
| author | Sebastian Reichel <[email protected]> | 2023-03-17 22:56:57 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-03-29 20:38:56 +0000 |
| commit | 44263f50065969f2344808388bd589740f026167 (patch) | |
| tree | 1c4d4eb8b3a7238d21f9a254873707fcd111b3d1 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | power: supply: generic-adc-battery: convert to managed resources (diff) | |
| download | kernel-44263f50065969f2344808388bd589740f026167.tar.gz kernel-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 <[email protected]>
Reviewed-by: Matti Vaittinen <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
