]> git.baikalelectronics.ru Git - uboot.git/commit
led: gpio: Default to using node name if label is absent
authorSean Anderson <seanga2@gmail.com>
Mon, 14 Sep 2020 15:02:02 +0000 (11:02 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 8 Oct 2020 15:42:36 +0000 (11:42 -0400)
commit96139889150da7e624a9c6a53a56e7ec8324f9ae
tree54c542d4822501e982f6a68e6d551bf6b0707dca
parentaf9c4b990b56960f83c5c459e11d4000d95d9e3b
led: gpio: Default to using node name if label is absent

This more closely mirrors Linux's behaviour, and will make it easier to
transition to using function+color in the future.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/led/led_gpio.c