diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-02-17 17:01:35 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-04 16:17:48 +0300 |
| commit | 3cb26cba4a603f6488314d7f9cc8e5d928aed128 (patch) | |
| tree | f2576397d5361a12ac90eea175896ce4c00774a0 /tools/perf/scripts/python/libxed.py | |
| parent | 18a53d40122df92933d57aba2ce114aab473f73e (diff) | |
| download | linux-3cb26cba4a603f6488314d7f9cc8e5d928aed128.tar.xz | |
iio: accel: Switch to sparse friendly iio_device_claim/release_direct()
Single patch for the simple cases in accelerometer drivers.
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.
Cc: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250217140135.896574-9-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
