HID: cp2112: destroy mutex on driver detach
Use the devres variant of mutex_init() in order to free resources allocated with mutex debugging enabled. Signed-off-by:Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Jiri Kosina <jkosina@suse.com>
Loading
Please sign in to comment