Change axp20x power drivers to use iio scaled
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | power: supply: axp20x_usb_power: Use scaled iio_read_channeldrivers/ | +15 | 0 replies | |
| 2/2 | power: supply: axp20x_battery: Use scaled iio_read_channeldrivers/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Change axp20x power drivers to use iio scaled
From: Chris Morgan <[email protected]>
Simplify the axp20x_battery and axp20x_usb_power to use iio_read_channel_processed_scale() instead of reading the channel and then applying the scaling factor in an additional step.
Chris Morgan (2):
power: supply: axp20x_usb_power: Use scaled iio_read_channel
power: supply: axp20x_battery: Use scaled iio_read_channel
drivers/power/supply/axp20x_battery.c | 33 +++++++++++++------------ drivers/power/supply/axp20x_usb_power.c | 33 +++++++++++-------------- 2 files changed, 32 insertions(+), 34 deletions(-)
Signature · 1 line
2.43.0