openwrt/package/base-files/files
Christian Lamparter a487e67cbc 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-05 23:24:46 +02:00
..
bin base-files: add support for compat_version on device 2020-07-31 11:40:15 +02:00
etc base-files: mount bpffs at boot 2020-07-31 13:43:03 +01:00
lib base-files: support label-property-less in get_dt_leds 2020-09-05 23:24:46 +02:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: remove useless cat 2020-07-11 12:52:01 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00