diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-03-29 13:55:15 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-04-04 14:16:45 +0300 |
commit | e5e8a58023707472e5dbe9bc7b473a8703b401e0 (patch) | |
tree | 44ab521411d408f6a652361b9768e74aab09738e /tools/perf/scripts/python/netdev-times.py | |
parent | d303735ce5dcd79783e65a3710f7f16d14f8900a (diff) | |
download | linux-e5e8a58023707472e5dbe9bc7b473a8703b401e0.tar.xz |
pinctrl: aw9523: Destroy mutex on ->remove()
If aw9523_hw_init() fails on ->remove() the mutex left alive.
Destroy it in that case as well. While at it, remove never
true check at the beginning of the function.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Message-ID: <20240329105634.712457-2-andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions