kernel: leds-ws2812b: use devm functions
authorRosen Penev <rosenp@gmail.com>
Fri, 2 Aug 2024 22:13:43 +0000 (15:13 -0700)
committerRobert Marko <robimarko@gmail.com>
Sun, 6 Oct 2024 10:21:51 +0000 (12:21 +0200)
commit63a92188fb3b044991f990484432ef4372040eb5
treeebe9543189a9edf99d60334a1d75eca085d3e02c
parentca325ee516e63ae138cbd5bbf20316139efe882f
kernel: leds-ws2812b: use devm functions

Avoids having to free manually.

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