diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-07-05 12:40:45 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-07-29 20:31:11 +0100 |
commit | c74f7c09b537b8d1ea61670c2d89a99d0732208f (patch) | |
tree | 993b4796ea357e8b738514cb4775d828b22deaaa /lib/netdev-notifier-error-inject.c | |
parent | f44c314faaec1882f16c8abcb49625594e9bbe4b (diff) |
iio: adc: ad7280a: simplify with cleanup.h
Allocate the memory with scoped/cleanup.h to reduce error handling and
make the code a bit simpler.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Nuno Sa <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions