aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-dell.c
diff options
context:
space:
mode:
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 788faa6b6cac..98ee40e8751f 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)
26{ 26{
27 int ret; 27 int ret;
28 28
29 hdev->quirks |= HID_QUIRK_RESET_LEDS;
30
31 ret = hid_parse(hdev); 29 ret = hid_parse(hdev);
32 if (ret) { 30 if (ret) {
33 dev_err(&hdev->dev, "parse failed\n"); 31 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)
40 goto err_free; 38 goto err_free;
41 } 39 }
42 40
41 usbhid_set_leds(hdev);
42
43 return 0; 43 return 0;
44err_free: 44err_free:
45 return ret; 45 return ret;