ar71xx: WNDR4300: use standard labels for buttons
authorMichal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Fri, 11 Oct 2019 08:41:51 +0000 (10:41 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Oct 2019 11:24:01 +0000 (13:24 +0200)
GPIO key labels have been changed to standard ones (rfkill, reset, wps).
It does not affect button functionality.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c

index d129bb7854ad01a924775ec50755869005a8b929..339216da1bbf7bef8d5bd7170d13bdcdde92a213 100644 (file)
@@ -107,7 +107,7 @@ static struct gpio_led wndr4300_leds_gpio[] __initdata = {
 
 static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
        {
-               .desc           = "Reset button",
+               .desc           = "reset",
                .type           = EV_KEY,
                .code           = KEY_RESTART,
                .debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
@@ -115,7 +115,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
                .active_low     = 1,
        },
        {
-               .desc           = "WPS button",
+               .desc           = "wps",
                .type           = EV_KEY,
                .code           = KEY_WPS_BUTTON,
                .debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,
@@ -123,7 +123,7 @@ static struct gpio_keys_button wndr4300_gpio_keys[] __initdata = {
                .active_low     = 1,
        },
        {
-               .desc           = "Wireless button",
+               .desc           = "rfkill",
                .type           = EV_KEY,
                .code           = KEY_RFKILL,
                .debounce_interval = WNDR4300_KEYS_DEBOUNCE_INTERVAL,