Skip to content

Change axp20x power drivers to use iio scaled

Chris Morgan linux-pm 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2power: supply: axp20x_usb_power: Use scaled iio_read_channeldrivers/power/supply/axp20x_usb_power.c+15 -180 replies
2/2power: supply: axp20x_battery: Use scaled iio_read_channeldrivers/power/supply/axp20x_battery.c+17 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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