immortalwrt/package/base-files/files/lib/functions
Christian Lamparter 8be3c496f9
base-files: support label-property-less in get_dt_leds
The LED's "label" property has been deprecated in upstream by:

|commit c5d18dd6b64e09dd6984bda9bdd55160af537a8c
|Author: Jacek Anaszewski <jacek.anaszewski@gmail.com>
|Date:   Sun Jun 9 20:19:04 2019 +0200
|
|    dt-bindings: leds: Add properties for LED name construction
|
|    Introduce dedicated properties for conveying information about
|    LED function and color. Mark old "label" property as deprecated.
|
|    Additionally function-enumerator property is being provided
|    for the cases when neither function nor color can be used
|    for LED differentiation.

in order to be somewhat prepared, this patch adds a fallback
as a last resort to make the current led code work by falling
back to the node-name as the "label".

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-09-06 13:22:08 +08:00
..
leds.sh base-files: support label-property-less in get_dt_leds 2020-09-06 13:22:08 +08:00
migrations.sh lantiq: sync official source code 2020-04-25 18:29:43 +08:00
network.sh base-files: fix comment typo in lib/functions/network.sh 2020-09-02 11:33:22 +08:00
preinit.sh Revert "base-files: update" 2019-11-24 01:27:26 +08:00
service.sh Revert "base-files: update" 2019-11-24 01:27:26 +08:00
system.sh Merge Lean's source 2020-02-03 14:13:23 +08:00
uci-defaults.sh ipq40xx: sync source code 2020-02-25 17:26:06 +08:00