]> git.dujemihanovic.xyz Git - u-boot.git/commit
led: led_pwm: use led_bind_generic() helper
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 17 Nov 2023 11:38:10 +0000 (12:38 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:35:15 +0000 (11:35 -0500)
commitd45e712f880d930bf14be022730d1268d6de0158
tree19d27f770e59e419d889b97f431d14dd9315d4b9
parent82eb8e5171d3b7b9186ec1a490498c29911c5916
led: led_pwm: use led_bind_generic() helper

Use the helper led_bind_generic() to reduce code duplication.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/led/led_pwm.c