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)
commitaaa3645e16fcc164913af20ccb36a1ec77322008
tree54c542d4822501e982f6a68e6d551bf6b0707dca
parentb4167aa15ac13cbbd3948463d9d5f97fb98d2709
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