All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: adc: ad7923: convert driver resources routines to device-managed counterparts
@ 2021-03-28 21:45 Lucas Stankus
  2021-03-28 21:46 ` [PATCH 1/3] iio: adc: ad7923: use devm_add_action_or_reset for regulator disable Lucas Stankus
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Lucas Stankus @ 2021-03-28 21:45 UTC (permalink / raw)
  To: lars, Michael.Hennerich, jic23; +Cc: linux-iio, linux-kernel

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(-)

-- 
2.31.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-29 11:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 21:45 [PATCH 0/3] iio: adc: ad7923: convert driver resources routines to device-managed counterparts Lucas Stankus
2021-03-28 21:46 ` [PATCH 1/3] iio: adc: ad7923: use devm_add_action_or_reset for regulator disable Lucas Stankus
2021-03-28 21:46 ` [PATCH 2/3] iio: adc: ad7923: use device-managed function for triggered buffer Lucas Stankus
2021-03-28 21:46 ` [PATCH 3/3] iio: adc: ad7923: register device with devm_iio_device_register Lucas Stankus
2021-03-29  7:06   ` Lars-Peter Clausen
2021-03-29 11:18     ` Jonathan Cameron
2021-03-29  7:18 ` [PATCH 0/3] iio: adc: ad7923: convert driver resources routines to device-managed counterparts Alexandru Ardelean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.