summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/fsl-imx25-gcq.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2024-02-17 16:42:49 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-25 19:50:09 +0000
commit8a85e72eaedc26acb5de768dc1bf53c7b4e3ada5 (patch)
tree7d3f2fa22052348a655d97c8b0bdd35863a968a1 /drivers/iio/adc/fsl-imx25-gcq.c
parent2fe97fccbd3f1da3f64818c123264db7cd2a257b (diff)
downloadlinux-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