Skip to contentSkip to conversation

spitz 2.6.34-rc4: fix On/off key name to fix warning during boot

PATCH Applied Pavel Machek 2 participants 2 messages Apr 16, 2010 – May 5, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

On/Off contains slash in the name, which causes warning during boot.

arch/arm/mach-pxa/spitz.c +1 -1
@@ -363,7 +363,7 @@
 		.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 */
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Applied
#1 lore raw
Quoted 4 lines · Pavel Machek

On/Off contains slash in the name, which causes warning during boot.

Applied.

Quoted 16 lines
arch/arm/mach-pxa/spitz.c 2010-04-16 03:45:07.000000000 +0200 renamed from arch/arm/mach-pxa/spitz.c 2010-03-21 22:09:12.000000000 +0100 +1 -1
@@ -363,7 +363,7 @@
 ? ? ? ? ? ? ? ?.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 */

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html