summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-31 13:13:06 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-22 19:10:00 +0100
commit770ee1a2c5d99a72914f521f894d6d1c0624837a (patch)
treef0cf9c2a9a3857c4c87dc091f0f7a313b9ba674f /tools/perf/scripts/python/parallel-perf.py
parentb2a3a51000a71cd33337b05b5a3df78ba89a6727 (diff)
downloadlinux-770ee1a2c5d99a72914f521f894d6d1c0624837a.tar.gz
linux-770ee1a2c5d99a72914f521f894d6d1c0624837a.zip
iio: pressure: mpl3115: factor out core of IIO_INFO_RAW read to simplify code flow
Apply guard(mutex) to remove the need for manual release of the lock. Factor out the code that occurs under the direct claim. These two changes allow for direct returns simplifying code flow. Reviewed-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com> Link: https://patch.msgid.link/20250331121317.1694135-27-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions