diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-09 17:06:24 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:56 +0100 |
| commit | 7e8c0ec196e789ea5a47e86bba0be4ce8345f447 (patch) | |
| tree | b52166c4b5c332536a01b1e3af163b9659ec542e /tools/perf/scripts/python/flamegraph.py | |
| parent | 2983ad971d02489a753df6ea44027c231baad555 (diff) | |
| download | linux-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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
