Skip to content

iio: adc: ad7923: convert driver resources routines to device-managed counterparts

Lucas Stankus linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: adc: ad7923: use devm_add_action_or_reset for regulator disabledrivers/iio/adc/ad7923.c+12 -60 replies
2/3iio: adc: ad7923: use device-managed function for triggered bufferdrivers/iio/adc/ad7923.c+3 -120 replies
3/3iio: adc: ad7923: register device with devm_iio_device_registerdrivers/iio/adc/ad7923.c+1 -112 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexandru Ardelean
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] iio: adc: ad7923: convert driver resources routines to device-managed counterparts

Following the initiative proposed by Alexandru, this patch series aims to convert the ad7923 to use only device-managed routines.

Part of the driver was already using devm_ functions, so it was possible to convert the remainder of it without much hassle.

With that, the deregistration function was no longer necessary and could be entirely removed from the driver.

Lucas Stankus (3):
iio: adc: ad7923: use devm_add_action_or_reset for regulator disable
iio: adc: ad7923: use device-managed function for triggered buffer
iio: adc: ad7923: register device with devm_iio_device_register

 drivers/iio/adc/ad7923.c | 39 +++++++++++++--------------------------
 1 file changed, 13 insertions(+), 26 deletions(-)
Signature · 1 line
2.31.0