summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2024-03-29 13:55:15 +0300
committerLinus Walleij <linus.walleij@linaro.org>2024-04-04 14:16:45 +0300
commite5e8a58023707472e5dbe9bc7b473a8703b401e0 (patch)
tree44ab521411d408f6a652361b9768e74aab09738e /tools/perf/scripts/python/libxed.py
parentd303735ce5dcd79783e65a3710f7f16d14f8900a (diff)
downloadlinux-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/libxed.py')
0 files changed, 0 insertions, 0 deletions