diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-31 13:13:14 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:10:01 +0100 |
| commit | 3332487099013f48108080f9c8ffeaddbef3724e (patch) | |
| tree | 368a3fdac0d5255996522f9e90316c90d0e0c0cd /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 0ed4424478d36c8301dd4fbc18a49eafb5e67569 (diff) | |
| download | linux-3332487099013f48108080f9c8ffeaddbef3724e.tar.gz linux-3332487099013f48108080f9c8ffeaddbef3724e.zip | |
iio: temp: maxim_thermocouple: Switch to sparse friendly iio_device_claim/release_direct()
These new functions allow sparse to find failures to release
direct mode reducing chances of bugs over the claim_direct_mode()
functions that are deprecated.
Tidy up a few direct returns whilst here.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://patch.msgid.link/20250331121317.1694135-35-jic23@kernel.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
