summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>2025-02-17 18:17:08 +0530
committerAndi Shyti <andi.shyti@kernel.org>2025-03-18 21:53:53 +0100
commit8f95d1da03e9cc3797038538369518ad685a7748 (patch)
tree63b91fc89355a1dd36482c92bbfa614a1d747b9d /tools/perf/scripts/python/export-to-postgresql.py
parentbe7113d2e2a6f20cbee99c98d261a1fd6fd7b549 (diff)
i2c: amd: Switch to guard(mutex)
Instead of using the 'goto label; mutex_unlock()' pattern use 'guard(mutex)' which will release the mutex when it goes out of scope. Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20250217124709.3121848-1-Shyam-sundar.S-k@amd.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions