From 93ff973c978db1aed3b98fb76bfa4603e4a4c8ea Mon Sep 17 00:00:00 2001
From: Karl Palsson <karlp@etactica.com>
Date: Mon, 28 May 2018 12:49:57 +0000
Subject: [PATCH] ath79: wdr4300: avoid DTC warnings

Use direct button labels to avoid dtc warnings

Signed-off-by: Karl Palsson <karlp@etactica.com>
---
 target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
index e7f24bfe34..9ce06ffbeb 100644
--- a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
+++ b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
@@ -74,15 +74,13 @@
 		#size-cells = <0>;
 		poll-interval = <20>;
 
-		button@0 {
-			label = "reset";
+		reset {
 			linux,code = <KEY_RESTART>;
 			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
 			debounce-interval = <60>;
 		};
 
-		button@1 {
-			label = "wifi";
+		wifi {
 			linux,code = <KEY_RFKILL>;
 			linux,input-type = <EV_SW>;
 			gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
-- 
2.30.2