kernel: ws2812b: use devm for mutex_init
authorRosen Penev <rosenp@gmail.com>
Thu, 3 Oct 2024 20:20:30 +0000 (13:20 -0700)
committerRobert Marko <robimarko@gmail.com>
Sun, 6 Oct 2024 10:21:51 +0000 (12:21 +0200)
commit5ee75b6bb2fbdf2438aa94d9df92b7d76650e633
treec930907f607e092143371dc77a5c4ee028050938
parente15aab2a17bd7df5cec09da61d2b0d2f052c7232
kernel: ws2812b: use devm for mutex_init

Allows removal of _remove function.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16587
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/leds-ws2812b/src/leds-ws2812b.c