aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/ZBT-WE1226.dts
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2018-12-30 12:17:25 +0100
committerChristian Lamparter <chunkeey@gmail.com>2019-02-05 16:28:12 +0100
commite8eaf794ec4105cd59f170371991ff90c5b2ca3b (patch)
treef872095835d2241ed4ea63f3e203af3d7e2243a2 /target/linux/ramips/dts/ZBT-WE1226.dts
parentd753a3ef0e8fde77221337c939644a81d835dbc6 (diff)
downloadupstream-e8eaf794ec4105cd59f170371991ff90c5b2ca3b.tar.gz
upstream-e8eaf794ec4105cd59f170371991ff90c5b2ca3b.tar.bz2
upstream-e8eaf794ec4105cd59f170371991ff90c5b2ca3b.zip
ramips: 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/ramips/dts/ZBT-WE1226.dts')
-rw-r--r--target/linux/ramips/dts/ZBT-WE1226.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/ZBT-WE1226.dts b/target/linux/ramips/dts/ZBT-WE1226.dts
index 1a1a986ebe..7c72744cff 100644
--- a/target/linux/ramips/dts/ZBT-WE1226.dts
+++ b/target/linux/ramips/dts/ZBT-WE1226.dts
@@ -24,7 +24,7 @@
reg = <0x0 0x4000000>;
};
- gpio-keys-polled {
+ keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;