Re: [PATCH] gpio: ljca: use devm_mutex_init() to simplify the error path and remove()

From: Bartosz Golaszewski
Date: Mon Oct 14 2024 - 04:33:27 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 08 Oct 2024 18:24:16 +0200, Bartosz Golaszewski wrote:
> 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().
>
>

Applied, thanks!

[1/1] gpio: ljca: use devm_mutex_init() to simplify the error path and remove()
commit: 476f18c0895df7b281eb84b3e687e6101c844338

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>