[ARM] pxa/spitz: fix On/off key name to fix warning during boot
authorPavel Machek <pavel@ucw.cz>
Wed, 5 May 2010 07:03:12 +0000 (15:03 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 6 May 2010 03:12:11 +0000 (11:12 +0800)
On/Off contains slash in the name, which causes warning during boot.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/spitz.c

index 19b5109d9808fae75972f6e1ac4b6250ec784ea7..01bdd7500df442edde598d1213dba9ca9402a83d 100644 (file)
@@ -363,7 +363,7 @@ static struct gpio_keys_button spitz_gpio_keys[] = {
                .type   = EV_PWR,
                .code   = KEY_SUSPEND,
                .gpio   = SPITZ_GPIO_ON_KEY,
-               .desc   = "On/Off",
+               .desc   = "On Off",
                .wakeup = 1,
        },
        /* Two buttons detecting the lid state */