On Tue, Oct 8, 2024 at 6:24 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > 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(). > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij