diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-04-16 12:55:09 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2025-04-17 15:22:05 +0200 |
| commit | f1d6cd0774bc211429ebf24187dc3d271feb5ed6 (patch) | |
| tree | 78269cc3e75587417ca30dc23dff5eaec2205ccf /tools/perf/scripts/python | |
| parent | gpio: spacemit: add support for K1 SoC (diff) | |
| download | linux-f1d6cd0774bc211429ebf24187dc3d271feb5ed6.tar.gz linux-f1d6cd0774bc211429ebf24187dc3d271feb5ed6.zip | |
gpiolib: Make taking gpio_lookup_lock consistent
There are two ways to take a lock: plain call to the mutex_lock()
or using guard()() / scoped_guard(). The driver inconsistently uses
both. Make taking gpio_lookup_lock consistent.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250416095645.2027695-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
