diff options
| author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2023-12-06 21:39:04 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-12-10 14:36:38 +0300 |
| commit | 17819da62a5c7058ea0d44bd9ff711aab7a44ae3 (patch) | |
| tree | 93ccd333fa609e9d8bfb6cc10198c0e1d4f98d31 /tools/perf/scripts/python/sched-migration.py | |
| parent | 9f4e9ffee97414d882889a943e550c53b5fa1d5c (diff) | |
| download | linux-17819da62a5c7058ea0d44bd9ff711aab7a44ae3.tar.xz | |
iio: adc: mcp3911: simplify code with guard macro
Use the guard(mutex) macro for handle mutex lock/unlocks.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://lore.kernel.org/r/20231206-mcp3911-guard-v4-1-30c3c5d4340f@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
