mbox series

[v5,0/9] IIO: Use device_for_each_child_scope()

Message ID 20240224123215.161469-1-jic23@kernel.org (mailing list archive)
Headers show
Series IIO: Use device_for_each_child_scope() | expand

Message

Jonathan Cameron Feb. 24, 2024, 12:32 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Previously:
[PATCH v4 00/15] device property / IIO: Use cleanup.h magic for fwnode_handle_put() handling.
 
The infrastructure being used here is now in iio.git (currently exposed
as testing for initial 0-day testing). I also applied a couple of users
that had received positive reviews. I split the series up like this
so that the infrastructure would make the merge window if reviews on these
take a little longer to come in (hopefully these will also make it)

Some of the driver changes haven't received any tags or specific feedback
yet, so I want to repost those for review.  Andy and Nuno gave some
feedback on other patches. Resulting changes called out in specific
patches.

Jonathan Cameron (9):
  iio: temp: ltc2983: Use __free(fwnode_handle) and
    device_for_each_node_scoped()
  iio: adc: mcp3564: Use device_for_each_child_node_scoped()
  iio: adc: qcom-spmi-adc5: Use device_for_each_child_node_scoped()
  iio: adc: rzg2l_adc: Use device_for_each_child_node_scoped()
  iio: adc: stm32: Use device_for_each_child_node_scoped()
  iio: adc: ti-ads1015: Use device_for_each_child_node_scoped()
  iio: adc: ti-ads131e08: Use device_for_each_child_node_scoped()
  iio: dac: ad3552r: Use device_for_each_child_node_scoped()
  iio: dac: ad5770r: Use device_for_each_child_node_scoped()

 drivers/iio/adc/mcp3564.c         |  16 ++--
 drivers/iio/adc/qcom-spmi-adc5.c  |   7 +-
 drivers/iio/adc/rzg2l_adc.c       |  11 +--
 drivers/iio/adc/stm32-adc.c       |  61 ++++++-------
 drivers/iio/adc/ti-ads1015.c      |   5 +-
 drivers/iio/adc/ti-ads131e08.c    |  13 +--
 drivers/iio/dac/ad3552r.c         |  51 +++++------
 drivers/iio/dac/ad5770r.c         |  19 ++---
 drivers/iio/temperature/ltc2983.c | 137 +++++++++++-------------------
 9 files changed, 116 insertions(+), 204 deletions(-)