diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-07-05 12:40:48 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-07-29 20:31:11 +0100 |
| commit | 1de9c3c706eef7765590a456d5a8f46a432e5b87 (patch) | |
| tree | 3f50f8af47917746c69bc93925642a4148330e84 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | adcba9cd610912aa5f0befbae5125c63dda36e00 (diff) | |
| download | linux-1de9c3c706eef7765590a456d5a8f46a432e5b87.tar.gz linux-1de9c3c706eef7765590a456d5a8f46a432e5b87.zip | |
iio: adc: ti-tsc2046: 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 <krzysztof.kozlowski@linaro.org>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20240705-cleanup-h-iio-v1-5-77114c7e84c5@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
