aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-12-30 12:17:25 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-01-26 21:09:12 +0100
commita012b3dfa8f72f76b407f99e6a3a052236ec996d (patch)
treebd212059ddcb97eea1303ce2c7e441f14324ee39 /target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
parentc2bcdabf2a1b1630c644076361b243a082d36c60 (diff)
downloadupstream-a012b3dfa8f72f76b407f99e6a3a052236ec996d.tar.gz
upstream-a012b3dfa8f72f76b407f99e6a3a052236ec996d.tar.bz2
upstream-a012b3dfa8f72f76b407f99e6a3a052236ec996d.zip
ath79: dts: Unify naming of gpio-keys 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/ath79/dts/ar7240_buffalo_whr-g301n.dts')
-rw-r--r--target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
index 31053e39b1..042219b234 100644
--- a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
+++ b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
@@ -16,7 +16,7 @@
led-upgrade = &diag;
};
- gpio-keys-polled {
+ keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;