Skip to content
Commit 52c1e818 authored by Sean Anderson's avatar Sean Anderson Committed by Guenter Roeck
Browse files

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: default avatarSean Anderson <sean.anderson@linux.dev>
Link: https://lore.kernel.org/r/20240620212005.821805-1-sean.anderson@linux.dev


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 1226a1b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment