diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-12-30 12:42:53 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-01-26 21:09:12 +0100 |
commit | 89afabf9f884190308f6021f6300a3a6301d2dbb (patch) | |
tree | 6bfa714e6a7ce20e4bca02197353d306cebde406 /target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts | |
parent | a012b3dfa8f72f76b407f99e6a3a052236ec996d (diff) | |
download | upstream-89afabf9f884190308f6021f6300a3a6301d2dbb.tar.gz upstream-89afabf9f884190308f6021f6300a3a6301d2dbb.tar.bz2 upstream-89afabf9f884190308f6021f6300a3a6301d2dbb.zip |
ath79: dts: Unify naming of gpio-led nodes
In DTS Checklist[1] we're now demanding proper generic node names, as
the name of a node should reflect the function of the device and use
generic name for that[2]. Everybody seems to be copy&pasting from DTS
files available in the repository today, so let's unify that naming
there as well and provide proper examples.
1. https://openwrt.org/submitting-patches#dts_checklist
2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation
Signed-off-by: Petr Štetiar <ynezz@true.cz>
[split up, removed entries where it could clash due to ath9k-leds]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts index 29b6fdab5e..2ace37ad68 100644 --- a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts +++ b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts @@ -10,7 +10,7 @@ compatible = "ubnt,nanostation-ac","ubnt,wa", "qca,ar9342"; model = "Ubiquiti Nanostation AC (WA)"; - gpio-leds { + leds { compatible = "gpio-leds"; rssi0 { |