summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-09 17:06:24 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-22 19:09:56 +0100
commit7e8c0ec196e789ea5a47e86bba0be4ce8345f447 (patch)
treeb52166c4b5c332536a01b1e3af163b9659ec542e /tools/perf/scripts/python
parent2983ad971d02489a753df6ea44027c231baad555 (diff)
downloadlinux-7e8c0ec196e789ea5a47e86bba0be4ce8345f447.tar.gz
linux-7e8c0ec196e789ea5a47e86bba0be4ce8345f447.zip
iio: light: opt4060: 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 is a case where the code is pinning down the mode so also has a claim on buffered mode. A follow up set may move those calls over to a sparse friendly form as well. Tested-by: Per-Daniel Olsson <perdaniel.olsson@axis.com> Reviewed-by: Per-Daniel Olsson <perdaniel.olsson@axis.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250309170633.1347476-10-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions