ath79: etactica-eg200: fix restore button
authorKarl Pálsson <karlp@etactica.com>
Mon, 12 Aug 2019 16:37:34 +0000 (16:37 +0000)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 31 Aug 2019 10:08:23 +0000 (12:08 +0200)
The button is labelled reboot/restore in documentation, and has always
been used for that.  Naming it WPS has always been wrong.

Signed-off-by: Karl Pálsson <karlp@etactica.com>
[matched author to SoB]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ath79/dts/ar9331_etactica_eg200.dts

index d18a239..708e9de 100644 (file)
@@ -19,7 +19,7 @@
                poll-interval = <50>;
 
                restore {
-                       linux,code = <KEY_WPS_BUTTON>;
+                       linux,code = <KEY_RESTART>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
        };