diff options
author | Petr Štetiar <ynezz@true.cz> | 2018-12-30 12:17:25 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-01-26 21:09:12 +0100 |
commit | a012b3dfa8f72f76b407f99e6a3a052236ec996d (patch) | |
tree | bd212059ddcb97eea1303ce2c7e441f14324ee39 /target/linux/ath79/dts/ar7241_tplink.dtsi | |
parent | c2bcdabf2a1b1630c644076361b243a082d36c60 (diff) | |
download | upstream-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/ar7241_tplink.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar7241_tplink.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7241_tplink.dtsi b/target/linux/ath79/dts/ar7241_tplink.dtsi index d646c312f5..fa6ba71925 100644 --- a/target/linux/ath79/dts/ar7241_tplink.dtsi +++ b/target/linux/ath79/dts/ar7241_tplink.dtsi @@ -13,7 +13,7 @@ led-upgrade = &led_system; }; - gpio-keys-polled { + keys { compatible = "gpio-keys-polled"; poll-interval = <20>; |