]> git.dujemihanovic.xyz Git - u-boot.git/commit
led: led_gpio: use led_bind_generic() helper
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 17 Nov 2023 11:38:09 +0000 (12:38 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:35:15 +0000 (11:35 -0500)
commit82eb8e5171d3b7b9186ec1a490498c29911c5916
treeac0eb770a2a0daa72d6767fbd7d5402b92b336c0
parent3bf0515a07f7e82f2cdbf435bfd7fcd66651852d
led: led_gpio: 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_gpio.c