diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-09 17:06:33 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:57 +0100 |
| commit | cac2bc675bcfa1441283fd0f438a709dba419840 (patch) | |
| tree | 09403473094cb51c567dbadbf9f068967f3b08f1 /tools/perf/scripts/python/flamegraph.py | |
| parent | 8d7c205ff9ff8fedd86d704c21f80471f0de7547 (diff) | |
| download | linux-cac2bc675bcfa1441283fd0f438a709dba419840.tar.gz linux-cac2bc675bcfa1441283fd0f438a709dba419840.zip | |
iio: light: vcnl4035: 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 case triggered a false positive from sparse, resolved by
factoring out the code that includes the claim and release of
direct mode.
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250309170633.1347476-19-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
