From a012b3dfa8f72f76b407f99e6a3a052236ec996d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0tetiar?= Date: Sun, 30 Dec 2018 12:17:25 +0100 Subject: ath79: dts: Unify naming of gpio-keys 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 Signed-off-by: Christian Lamparter [split up] --- target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts') 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>; -- cgit v1.2.3