mediatek: leds-smartrg: use devm_mutex_init
authorRosen Penev <rosenp@gmail.com>
Tue, 8 Oct 2024 23:37:08 +0000 (16:37 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Oct 2024 17:19:38 +0000 (19:19 +0200)
commit0dfe1e876a0704216215312ae4be6875d2378170
tree8e75df7a3153e898260d520eb5f26e396dd2f349
parente52c57bb1b30375e0bcc5523db76a672a4a8b4a4
mediatek: leds-smartrg: use devm_mutex_init

No longer need normal _remove function. Replaced with _disable.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16651
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/files/drivers/leds/leds-smartrg-system.c