tty: Fix LED error return
authorAlan Cox <alan@linux.intel.com>
Mon, 14 May 2012 13:41:31 +0000 (14:41 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 May 2012 17:43:24 +0000 (10:43 -0700)
commiteea41aee2bfad4cf5c84e1cab8aa068c66206651
tree6da3eaa10d8548f6770e4566e139b1128706ded7
parent9ff00d58a915b6747ba2e843ab2d04c712b4dc32
tty: Fix LED error return

3.4-rc introduced a regression when setting the LEDS. We do the right thing
but then return an error code.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=43144
Reported-by: Christian Casteyde
Signed-off-by: Alan Cox <alan@linux/intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/tty/vt/keyboard.c