IIO: Convert DT specific handling over to fwnode
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | iio: adc: fsl-imx25-gcq: Switch from of specific handing to fwnode based.drivers/ | +21 | 0 replies | |
| 2/8 | iio: adc: fsl-imx25-gcq: Use devm_* and dev_err_probe() to simplify probedrivers/ | +35 | 0 replies | |
| 3/8 | iio: adc: ad7124: Switch from of specific to fwnode based property handlingdrivers/ | +23 | 4 replies | |
| 4/8 | iio: adc: ad7292: Switch from of specific to fwnode property handlingdrivers/ | +6 | 1 reply | |
| 5/8 | iio: adc: ad7192: Convert from of specific to fwnode property handlingdrivers/ | +19 | 2 replies | |
| 6/8 | iio: accel: mma8452: Switch from of specific to fwnode property handling.drivers/ | +3 | 1 reply | |
| 7/8 | iio: accel: fxls8962af: Switch from of specific to fwnode based properties.drivers/ | +6 | 1 reply | |
| 8/8 | iio: adc: hx711: Switch from of specific to fwnode property handling.drivers/ | +2 | 1 reply |
Reviews trailers per patch
3 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Nuno Sa | Andy Shevchenko | Haibo Chen |
|---|---|---|---|
| Series | R-b | ||
| 1/8 | |||
| 2/8 | |||
| 3/8 | R-b | ||
| 4/8 | R-b | ||
| 5/8 | R-b | ||
| 6/8 | Reviewed-and-tested-by | ||
| 7/8 | |||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/8] IIO: Convert DT specific handling over to fwnode
From: Jonathan Cameron <[email protected]>
Andy pointed out that some of the drivers I was using as examples for "[PATCH 0/8] of: automate of_node_put() - new approach to loops." should be converted over to fwnode / property.h based handling anyway at which point the device_for_each_child_node_scoped() handler could be used instead. He correctly observed that it made more sense to make this transition directly than to improve the device tree specific handling.
So this series does that and also some of the other drivers that were still using device tree specific handling. Note the rcar-adc remains DT specific due to it directly handling maching against of_device_id tables. It probably doesn't make sense to move that custom handling over to fwnode.
I included one devm_ cleanup patch in here as I was touching the driver anyway.
Depends on:
[PATCH v4 00/15] device property / IIO: Use cleanup.h magic for fwnode_handle_put() handling.
https://lore.kernel.org/linux-iio/[email protected]/T/#t
Jonathan Cameron (8):
iio: adc: fsl-imx25-gcq: Switch from of specific handing to fwnode
based.
iio: adc: fsl-imx25-gcq: Use devm_* and dev_err_probe() to simplify
probe
iio: adc: ad7124: Switch from of specific to fwnode based property
handling
iio: adc: ad7292: Switch from of specific to fwnode property handling
iio: adc: ad7192: Convert from of specific to fwnode property handling
iio: accel: mma8452: Switch from of specific to fwnode property
handling.
iio: accel: fxls8962af: Switch from of specific to fwnode based
properties.
iio: adc: hx711: Switch from of specific to fwnode property handling.
drivers/iio/accel/fxls8962af-core.c | 10 +- drivers/iio/accel/mma8452.c | 6 +- drivers/iio/adc/ad7124.c | 55 +++++------ drivers/iio/adc/ad7192.c | 38 ++++---- drivers/iio/adc/ad7292.c | 13 ++- drivers/iio/adc/fsl-imx25-gcq.c | 140 +++++++++++----------------- drivers/iio/adc/hx711.c | 5 +- 7 files changed, 115 insertions(+), 152 deletions(-)
Signature · 1 line
2.43.2