leds: lm3601x: Don't use mutex after it was destroyed
The mutex might still be in use until the devm cleanup callback devm_led_classdev_flash_release() is called. This only happens some time after lm3601x_remove() completed. Fixes: e63a7448 ("leds: lm3601x: Convert class registration to device managed") Acked-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NWolfram Sang <wsa@kernel.org>
Showing
想要评论请 注册 或 登录