diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-09 16:58:16 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 19:09:55 +0100 |
| commit | 5655ba5ada999d08ff3e0c75e3c3ca9b0cd97ed2 (patch) | |
| tree | c44f62f4cd42435179846d8d4d1731ac6d057100 /tools/perf/scripts/python/flamegraph.py | |
| parent | 3ba3800286bb8881d323659fd019cf6b746580d9 (diff) | |
| download | linux-5655ba5ada999d08ff3e0c75e3c3ca9b0cd97ed2.tar.gz linux-5655ba5ada999d08ff3e0c75e3c3ca9b0cd97ed2.zip | |
iio: adc: ti-ads1015: Use guard(mutex) and factor out code for INFO_RAW
By use of automatic lock release and introducing a new utility
function to handle the core activity of reading the ADC channel,
many more complex code flows can be replaced by direct returns.
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250309165819.1346684-6-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
