summaryrefslogtreecommitdiff
path: root/Documentation/iio/iio_devbuf.rst
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-30 22:08:47 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-04-06 13:29:06 +0300
commitde4eefe8f16fb2854e8375978c0c517dcddc4d71 (patch)
tree40fadf38e8dd8c5b4f95eaa504b8b66ed9cf3019 /Documentation/iio/iio_devbuf.rst
parentcf84f1e0a8fd236a965c4b79a1de1509e05e0343 (diff)
downloadlinux-de4eefe8f16fb2854e8375978c0c517dcddc4d71.tar.xz
iio: frequency: admfm2000: Use device_for_each_child_node_scoped() to simplify error paths.
This loop definition automatically release the fwnode_handle on early exit simplifying error handling paths. Cc: Kim Seer Paller <kimseer.paller@analog.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240330190849.1321065-7-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/iio/iio_devbuf.rst')
0 files changed, 0 insertions, 0 deletions