diff options
author | 2024-10-08 18:24:16 +0200 | |
---|---|---|
committer | 2024-10-14 10:30:36 +0200 | |
commit | 476f18c0895df7b281eb84b3e687e6101c844338 (patch) | |
tree | 3033aaed6aba1eb30613c254495deca231ff338b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: mpc8xxx: use generic device_is_compatible() (diff) | |
download | wireguard-linux-476f18c0895df7b281eb84b3e687e6101c844338.tar.xz wireguard-linux-476f18c0895df7b281eb84b3e687e6101c844338.zip |
gpio: ljca: use devm_mutex_init() to simplify the error path and remove()
Destroying the mutexes is done at the end of remove() so switching to
devres does not constitute a functional change. Use devm_mutex_init()
and remove repetitions of mutex_destroy().
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241008162416.85111-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions