hid: remove egregious idle timer stuff and clean up some whitespace

This commit is contained in:
Matt Sealey
2010-12-21 17:03:59 -06:00
parent 34626f4751
commit 3fbb0547af
2 changed files with 1 additions and 8 deletions

View File

@@ -52,12 +52,6 @@ EXPORT_SYMBOL_GPL(hid_debug);
#endif
//inherited V28 ,2010.03.10 Byron
#ifdef CONFIG_MACH_MX51_EFIKASB
extern void mxc_reset_idle_timer(void);
#endif
/*
* Register a new report for a device.
*/

View File

@@ -1147,7 +1147,7 @@ static int hid_probe(struct usb_interface *intf, const struct usb_device_id *id)
#ifdef CONFIG_MACH_MX51_EFIKASB
/* ron: skip the Logitech G15 GamePanel LCD */
// inherited Ron's code , Byron 2010.03.10
// 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;
@@ -1155,7 +1155,6 @@ static int hid_probe(struct usb_interface *intf, const struct usb_device_id *id)
}
#endif
hid->name[0] = 0;
if (intf->cur_altsetting->desc.bInterfaceProtocol ==
USB_INTERFACE_PROTOCOL_MOUSE)