diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-12-30 12:42:53 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-02-05 16:28:12 +0100 |
commit | dd3ec40d3d07f9fb419936b27f386217a0c68fb0 (patch) | |
tree | 01e808f85051bebeb2852adab8a9a3d65c4634a1 /target/linux/ramips/dts/WSR-1166.dts | |
parent | e8eaf794ec4105cd59f170371991ff90c5b2ca3b (diff) | |
download | upstream-dd3ec40d3d07f9fb419936b27f386217a0c68fb0.tar.gz upstream-dd3ec40d3d07f9fb419936b27f386217a0c68fb0.tar.bz2 upstream-dd3ec40d3d07f9fb419936b27f386217a0c68fb0.zip |
ramips: 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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [split up]
Diffstat (limited to 'target/linux/ramips/dts/WSR-1166.dts')
-rw-r--r-- | target/linux/ramips/dts/WSR-1166.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts index bd7ddd325c..321f137a84 100644 --- a/target/linux/ramips/dts/WSR-1166.dts +++ b/target/linux/ramips/dts/WSR-1166.dts @@ -25,7 +25,7 @@ bootargs = "console=ttyS0,57600"; }; - gpio-leds { + leds { compatible = "gpio-leds"; internet_g { |