diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-17 16:42:49 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-25 19:50:09 +0000 |
commit | 8a85e72eaedc26acb5de768dc1bf53c7b4e3ada5 (patch) | |
tree | 7d3f2fa22052348a655d97c8b0bdd35863a968a1 /drivers/iio/adc/fsl-imx25-gcq.c | |
parent | 2fe97fccbd3f1da3f64818c123264db7cd2a257b (diff) | |
download | linux-8a85e72eaedc26acb5de768dc1bf53c7b4e3ada5.tar.gz linux-8a85e72eaedc26acb5de768dc1bf53c7b4e3ada5.tar.bz2 linux-8a85e72eaedc26acb5de768dc1bf53c7b4e3ada5.zip |
iio: dac: ltc2688: Use device_for_each_child_node_scoped()
Switching to the _scoped() version removes the need for manual
calling of fwnode_handle_put() in the paths where the code
exits the loop early. In this case that's all in error paths.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240217164249.921878-16-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/fsl-imx25-gcq.c')
0 files changed, 0 insertions, 0 deletions