base-files: get_dt_led: don't warn about missing led
authorMathias Kresin <dev@kresin.me>
Wed, 4 Apr 2018 06:38:24 +0000 (08:38 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 4 Apr 2018 07:12:39 +0000 (09:12 +0200)
commit3a4bf25fd6828fcc7172c36601774f8a279d7692
tree23135d15ccdee2a25579cd43904d3213e7423c52
parent0c26264dee0f870ebbd3b06508561c1c5d459530
base-files: get_dt_led: don't warn about missing led

It's intentional that some boards within a target don't have all LEDs
which are tried to be setup in a common script. Don't show a warning in
such cases.

Fixes: 4f4fc993db4c ("base-files: add more name source to get_dt_led helper function")
Signed-off-by: Mathias Kresin <dev@kresin.me>
package/base-files/files/lib/functions/leds.sh