aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-09-11 16:42:02 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-13 14:38:42 +0100
commitd904b8e6d4efadbcb4a4a0e077850cabbee513ed (patch)
treed0faf0aef6703068f2014147ced931143d19f227 /tools/perf/scripts/python
parentiio: adc: ad7124: use read_avail() for scale_available (diff)
downloadlinux-d904b8e6d4efadbcb4a4a0e077850cabbee513ed.tar.gz
linux-d904b8e6d4efadbcb4a4a0e077850cabbee513ed.zip
iio: adc: ad7124: use guard(mutex) to simplify return paths
Use guard(mutex) in a couple of functions to allow direct returns. This simplifies the code a bit and will make later changes easier. cleanup.h was already included for prior use of __free() Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andy@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
rtions'>+9 2016-03-23perf probe: No need to use formatting strbuf methodArnaldo Carvalho de Melo3-10/+10 2016-03-23perf help: Use asprintf instead of adhoc equivalentsArnaldo Carvalho de Melo1-38/+31 2016-03-23perf tools: Remove unused perf_pathdup, xstrdup functionsArnaldo Carvalho de Melo4-46/+0 2016-03-23perf tools: Do not include stringify.h from the kernel sourcesArnaldo Carvalho de Melo4-5/+3