diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-12-30 12:17:25 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-02-05 16:28:12 +0100 |
commit | e8eaf794ec4105cd59f170371991ff90c5b2ca3b (patch) | |
tree | f872095835d2241ed4ea63f3e203af3d7e2243a2 /target/linux/ramips/dts/HC5X61.dtsi | |
parent | d753a3ef0e8fde77221337c939644a81d835dbc6 (diff) | |
download | upstream-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/HC5X61.dtsi')
-rw-r--r-- | target/linux/ramips/dts/HC5X61.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/HC5X61.dtsi b/target/linux/ramips/dts/HC5X61.dtsi index 8da05adeef..09b303fd33 100644 --- a/target/linux/ramips/dts/HC5X61.dtsi +++ b/target/linux/ramips/dts/HC5X61.dtsi @@ -10,7 +10,7 @@ bootargs = "console=ttyS0,115200"; }; - gpio-keys-polled { + keys { compatible = "gpio-keys-polled"; poll-interval = <20>; |