summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hid/hid-core.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index aeae545859d4..39eba8106d40 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -2364,14 +2364,6 @@ int hid_add_device(struct hid_device *hdev)
2364 dev_set_name(&hdev->dev, "%04X:%04X:%04X.%04X", hdev->bus, 2364 dev_set_name(&hdev->dev, "%04X:%04X:%04X.%04X", hdev->bus,
2365 hdev->vendor, hdev->product, atomic_inc_return(&id)); 2365 hdev->vendor, hdev->product, atomic_inc_return(&id));
2366 2366
2367 /*
2368 * Try loading the module for the device before the add, so that we do
2369 * not first have hid-generic binding only to have it replaced
2370 * immediately afterwards with a specialized driver.
2371 */
2372 request_module("hid:b%04Xg%04Xv%08Xp%08X",
2373 hdev->bus, hdev->group, hdev->vendor, hdev->product);
2374
2375 hid_debug_register(hdev, dev_name(&hdev->dev)); 2367 hid_debug_register(hdev, dev_name(&hdev->dev));
2376 ret = device_add(&hdev->dev); 2368 ret = device_add(&hdev->dev);
2377 if (!ret) 2369 if (!ret)