diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-08-31 11:20:46 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-09-02 09:42:10 +0000 |
commit | db955e0847484c64c6e749659527b5f45b2b5749 (patch) | |
tree | 32f3eb355ecdb993a78514c5ba11c899b2a59e58 /lib/crypto/mpi/mpi-internal.h | |
parent | ed09d6d4f5938626823af3d2a04ff3a395bd348a (diff) |
firmware: turris-mox-rwtm: Use devm_mutex_init() instead of mutex_init()
Use devm_mutex_init() instead of mutex_init(), to properly call
mutex_destroy() on probe failure / driver unbind.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240831092050.23093-13-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions