diff options
| author | Sean Anderson <sean.anderson@linux.dev> | 2024-06-21 00:20:05 +0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2024-06-21 18:09:32 +0300 |
| commit | 52c1e818d66bfed276bd371f9e7947be4055af87 (patch) | |
| tree | d645a9f166f0c85a324470b5960339e52764d980 /scripts | |
| parent | 1226a1b2e5611d17aae55a01ad9d6883879feab4 (diff) | |
| download | linux-52c1e818d66bfed276bd371f9e7947be4055af87.tar.xz | |
hwmon: iio: Use iio_read_channel_processed_scale for IIO_POWER
Instead of rescaling power channels after the fact, use the dedicated
scaling API. This should reduce any inaccuracies resulting from the
scaling.
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://lore.kernel.org/r/20240620212005.821805-1-sean.anderson@linux.dev
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
