]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
HID: automatically call usbhid_set_leds in usbhid driver
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 30 Oct 2008 22:58:51 +0000 (23:58 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:50 +0000 (01:00 +0100)
commit08ef08ee8c5a8d538ca9a3c433d4213c128af863
tree99726465fd5973d748ad7fd1521c512754443f84
parentefc7ce18d9037aa947c1aad5eb712ecc47520126
HID: automatically call usbhid_set_leds in usbhid driver

This patch (as1146c) makes usbhid automatically call usbhid_set_leds()
for any device that supports the keyboard boot protocol.

In theory this should be perfectly safe.  BIOSes send the LED output
report as part of their normal device initialization, so any keyboard
device supporting the boot protocol has to be able to handle it.

As a side effect, the hid-dell and hid-bright drivers are no longer
needed, and the Logitech keyboard driver can be removed from hid-lg.

CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-bright.c [deleted file]
drivers/hid/hid-core.c
drivers/hid/hid-dell.c [deleted file]
drivers/hid/hid-ids.h
drivers/hid/hid-lg.c
drivers/hid/usbhid/hid-core.c