diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-31 13:12:49 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:59 +0100 |
| commit | 6c9dc1e8f296effd17f36a4653f6928c17a16dce (patch) | |
| tree | 721eecb71f7931810ab689a16799bd39fc67203a /tools/perf/scripts/python/syscall-counts.py | |
| parent | fcc065fdf52fc8da44b17125449838118a4aeeff (diff) | |
| download | linux-6c9dc1e8f296effd17f36a4653f6928c17a16dce.tar.gz linux-6c9dc1e8f296effd17f36a4653f6928c17a16dce.zip | |
iio: health: max30102: 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. This particular case is about ensuring
the mode does not change rather than ensuring we are in direct mode.
A follow up may cleanup the buffer mode claim.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://patch.msgid.link/20250331121317.1694135-10-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
