Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: adc: ti-ads1015: modernize resource management
@ 2026-07-18  7:50 Archit Anant
  2026-07-18  7:50 ` [PATCH 1/3] iio: adc: ti-ads1015: sort headers alphabetically Archit Anant
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Archit Anant @ 2026-07-18  7:50 UTC (permalink / raw)
  To: jic23
  Cc: dlechner, andy, nuno.sa, u.kleine-koenig, linux-iio, linux-kernel,
	Archit Anant

This series modernizes the ti-ads1015 by transitioning it
to a fully devm_ architecture.

y moving resource allocation, device registration, and runtime power
management to the devm_ infrastructure, the teardown sequence is now
guaranteed to execute safely in the reverse order of initialization.
This allows for the complete removal of the ads1015_remove() function,
eliminating boilerplate code and reducing the risk of future resource
leaks.

Additionally, a minor housekeeping patch is included to ensure the
header includes remain alphabetically sorted.

Archit Anant (3):
  iio: adc: ti-ads1015: sort headers alphabetically
  iio: adc: ti-ads1015: use local device pointer in probe
  iio: adc: ti-ads1015: convert to fully managed resources

 drivers/iio/adc/ti-ads1015.c | 89 +++++++++++++++++-------------------
 1 file changed, 42 insertions(+), 47 deletions(-)

-- 
2.39.5


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

end of thread, other threads:[~2026-07-18 21:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18  7:50 [PATCH 0/3] iio: adc: ti-ads1015: modernize resource management Archit Anant
2026-07-18  7:50 ` [PATCH 1/3] iio: adc: ti-ads1015: sort headers alphabetically Archit Anant
2026-07-18  7:50 ` [PATCH 2/3] iio: adc: ti-ads1015: use local device pointer in probe Archit Anant
2026-07-18  8:37   ` Andy Shevchenko
2026-07-18 21:48   ` Jonathan Cameron
2026-07-18  7:50 ` [PATCH 3/3] iio: adc: ti-ads1015: convert to fully managed resources Archit Anant
2026-07-18  8:39   ` Andy Shevchenko
2026-07-18 21:55   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox