Skip to content

IIO: Use of device_for_each_child_node_scoped() in ti-ads131e08

Lorenzo Bertin Salvador linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: adc: ti-ads131e08: Use device_for_each_child_node_scoped() to simplify error paths.drivers/iio/adc/ti-ads131e08.c+4 -81 reply
2/2iio: adc: ti-ads131e08: Fix a style problem in struct declaration.drivers/iio/adc/ti-ads131e08.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] IIO: Use of device_for_each_child_node_scoped() in ti-ads131e08

This series is making use of device_for_each_child_node_scoped() to avoid the need to remember to call fwnode_handle_put() in early exits from loops over the child nodes. It is also correcting a minor style problem in drivers/iio/adc/ti-ads131e08.c

Lorenzo Bertin Salvador (2):
iio: adc: ti-ads131e08: Use device_for_each_child_node_scoped() to
simplify error paths.
iio: adc: ti-ads131e08: Fix a style problem in struct declaration.

 drivers/iio/adc/ti-ads131e08.c | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1