summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-dell.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-06-27 18:41:02 (GMT)
committerJiri Kosina <jkosina@suse.cz>2008-10-14 21:50:56 (GMT)
commit6edfa8dc33803a49ad936ead9840e453bee6ca3b (patch)
treea98640468512a114e356e5634467559fb17c9c69 /drivers/hid/hid-dell.c
parent93c10132a7ac160df3175b53f7ee857625412165 (diff)
downloadlinux-fsl-qoriq-6edfa8dc33803a49ad936ead9840e453bee6ca3b.tar.xz
HID: move reset leds quirk
Move the handling of the leds resetting from the core to the dell and logitech drivers. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-dell.c')
-rw-r--r--drivers/hid/hid-dell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-dell.c b/drivers/hid/hid-dell.c
index 788faa6..98ee40e 100644
--- a/drivers/hid/hid-dell.c
+++ b/drivers/hid/hid-dell.c
@@ -26,8 +26,6 @@ static int dell_probe(struct hid_device *hdev, const struct hid_device_id *id)
{
int ret;
- hdev->quirks |= HID_QUIRK_RESET_LEDS;
-
ret = hid_parse(hdev);
if (ret) {
dev_err(&hdev->dev, "parse failed\n");
@@ -40,6 +38,8 @@ static int dell_probe(struct hid_device *hdev, const struct hid_device_id *id)
goto err_free;
}
+ usbhid_set_leds(hdev);
+
return 0;
err_free:
return ret;