[PATCH 0/3] iio: adc: ti-ads1015: modernize resource management

Archit Anant posted 3 patches 6 days, 20 hours ago
drivers/iio/adc/ti-ads1015.c | 89 +++++++++++++++++-------------------
1 file changed, 42 insertions(+), 47 deletions(-)
[PATCH 0/3] iio: adc: ti-ads1015: modernize resource management
Posted by Archit Anant 6 days, 20 hours ago
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