From 89afabf9f884190308f6021f6300a3a6301d2dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Sun, 30 Dec 2018 12:42:53 +0100 Subject: ath79: dts: Unify naming of gpio-led nodes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 [split up, removed entries where it could clash due to ath9k-leds] Signed-off-by: Christian Lamparter --- target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi') diff --git a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi index a438a3f913..6e4361f10f 100644 --- a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi +++ b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi @@ -25,7 +25,7 @@ clock-frequency = <40000000>; }; - gpio-leds { + leds { compatible = "gpio-leds"; rf: rf_green { -- cgit v1.2.3