tty: Fix LED error return
authorAlan Cox <alan@linux.intel.com>
Mon, 14 May 2012 13:41:31 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 16:04:28 +0000 (09:04 -0700)
commit05f843b5d3406c29c8af7d1eb39ea9143b21d6dc
treef054e7a60b9ec0a130e4e652121d7695cda8fd53
parent1e66cded334e6cea596c72f6f650eec351b1e959
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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/keyboard.c