hid-core: cleanup EFIKASB specific hack (not needed)

This commit is contained in:
Matt Sealey
2011-02-18 00:42:10 -06:00
parent 99ce2edfde
commit 38a119b0c4

View File

@@ -1131,15 +1131,11 @@ static int hid_probe(struct usb_interface *intf, const struct usb_device_id *id)
hid->vendor = le16_to_cpu(dev->descriptor.idVendor);
hid->product = le16_to_cpu(dev->descriptor.idProduct);
#ifdef CONFIG_MACH_MX51_EFIKASB
/* ron: skip the Logitech G15 GamePanel LCD */
// inherited Ron's code , Byron 2010.03.10
if(hid->vendor == USB_VENDOR_ID_LOGITECH &&
hid->product == USB_DEVICE_ID_LOGITECH_G15_GAMEPANEL) {
ret = -ENODEV;
goto err;
}
#endif
hid->name[0] = 0;
if (intf->cur_altsetting->desc.bInterfaceProtocol ==