Input: put ledstate in the keyboard notifier
authorKarl Dahlke <eklhad@comcast.net>
Tue, 15 Apr 2008 05:30:32 +0000 (01:30 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Apr 2008 05:30:32 +0000 (01:30 -0400)
commit0beb4f6f294b0f2dde07fa9da9c00abd4f9c8b50
tree2b1b330a3b836e99ca5be38a5c2923dd319c8936
parent76d057ce5a48034c97f604a0a25a87093e072c71
Input: put ledstate in the keyboard notifier

Led state should be part of the key event, like shiftstate, and not
grabbed asynchronously after the fact.

[samuel.thibault@ens-lyon.org: various fixes]

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/char/keyboard.c
include/linux/keyboard.h