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 /crypto/cmac.c | |
parent | de4eefe8f16fb2854e8375978c0c517dcddc4d71 (diff) | |
download | linux-stable-bcf571a854d4a91617d688015277525edfbc30fb.tar.gz linux-stable-bcf571a854d4a91617d688015277525edfbc30fb.tar.bz2 linux-stable-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 'crypto/cmac.c')
0 files changed, 0 insertions, 0 deletions