Re: [patch]full runtime power management for usbhid
flat view
From: Felipe Balbi <hidden>
Date: 2008-08-26 09:50:22
On Tue, Aug 26, 2008 at 11:39:13AM +0200, ext Oliver Neukum wrote:
quoted hunk ↗ jump to hunk
--- a/drivers/hid/usbhid/usbhid.h 2008-05-06 13:49:51.000000000 +0200 +++ b/drivers/hid/usbhid/usbhid.h 2008-05-06 14:58:49.000000000 +0200@@ -37,7 +37,10 @@ int usbhid_wait_io(struct hid_device* hi void usbhid_close(struct hid_device *hid); int usbhid_open(struct hid_device *hid); void usbhid_init_reports(struct hid_device *hid); -void usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir); +void usbhid_submit_report +(struct hid_device *hid, struct hid_report *report, unsigned char dir);
void usbhid_submit_report(struct hid_device *hid, struct hid_report *report, unsigned char dir); would look better. Matter of taste. ditto below.
quoted hunk ↗ jump to hunk
switch (urb->status) { case 0: /* success */ + usbhid_mark_busy(usbhid);
^^^^^^^ you added whitespaces there -- balbi