diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-30 19:08:48 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-04-06 11:29:06 +0100 |
| commit | bcf571a854d4a91617d688015277525edfbc30fb (patch) | |
| tree | 4d69c479ac41553dc226463c3e7acb08a2549fb6 /tools/perf/scripts/python | |
| parent | iio: frequency: admfm2000: Use device_for_each_child_node_scoped() to simplif... (diff) | |
| download | linux-bcf571a854d4a91617d688015277525edfbc30fb.tar.gz linux-bcf571a854d4a91617d688015277525edfbc30fb.zip | |
iio: dac: ad3552: Use __free(fwnode_handle) to simplify error handling.
By using this scoped based cleanup direct returns on errors are enabled
simplifying the code.
Cc: Mihail Chindris <mihail.chindris@analog.com>
Cc: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20240330190849.1321065-8-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
