Tapasweni Pathak
3f3efca9c5
staging: emxx_udc: use USB API functions rather than constants
...
This patch introduces the use of the functions usb_endpoint_type and
usb_endpoint_num.
The Coccinelle semantic patch that makes these changes is as follows:
@@ struct usb_endpoint_descriptor *epd; @@
- (epd->bEndpointAddress & \(USB_ENDPOINT_NUMBER_MASK\|0x0f\))
+ usb_endpoint_num(epd)
@@ struct usb_endpoint_descriptor *epd; @@
- (epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\))
+ usb_endpoint_type(epd)
Build Tested it.
Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-30 13:20:42 -07:00
..
2014-10-11 11:34:07 -07:00
2014-09-30 01:16:44 +02:00
2014-10-20 10:30:15 +08:00
2014-10-18 18:11:04 -07:00
2014-10-17 11:55:32 -04:00
2014-10-15 07:23:49 +02:00
2014-10-09 14:58:15 -04:00
2014-10-18 12:12:45 -07:00
2014-10-13 11:28:42 +02:00
2014-10-08 17:37:16 -04:00
2014-10-18 10:25:09 -07:00
2014-10-15 07:05:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-15 07:05:03 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 10:51:23 +02:00
2014-09-29 20:22:36 +09:00
2014-10-18 18:11:04 -07:00
2014-10-09 02:39:07 -04:00
2014-10-10 22:07:55 -04:00
2014-10-09 22:26:00 -04:00
2014-10-09 14:58:15 -04:00
2014-10-14 09:39:08 +02:00
2014-10-09 14:58:15 -04:00
2014-10-03 08:19:02 -07:00
2014-10-19 12:50:44 -07:00
2014-10-18 12:12:45 -07:00
2014-09-26 08:15:27 +01:00
2014-10-19 12:29:23 -07:00
2014-10-19 12:40:24 -07:00
2014-10-15 07:23:49 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 15:05:35 -04:00
2014-10-10 16:40:14 -04:00
2014-09-25 23:14:37 +10:00
2014-10-18 12:25:30 -07:00
2014-10-18 18:11:04 -07:00
2014-10-14 02:18:22 +02:00
2014-10-07 21:29:18 -04:00
2014-10-15 06:58:16 +02:00
2014-10-18 18:11:04 -07:00
2014-10-18 12:12:45 -07:00
2014-10-18 18:11:04 -07:00
2014-10-18 18:11:04 -07:00
2014-10-07 14:48:29 -04:00
2014-10-17 07:08:51 -04:00
2014-10-11 06:47:50 -04:00
2014-10-13 16:23:15 +02:00
2014-10-11 20:29:01 -04:00
2014-10-09 14:58:15 -04:00
2014-10-14 02:18:25 +02:00
2014-10-14 02:18:25 +02:00
2014-10-15 06:56:23 +02:00
2014-10-15 06:56:23 +02:00
2014-10-14 02:18:19 +02:00
2014-10-18 12:12:45 -07:00
2014-10-18 12:12:45 -07:00
2014-10-08 17:37:16 -04:00
2014-10-18 18:11:04 -07:00
2014-10-09 14:58:15 -04:00
2014-10-30 13:20:42 -07:00
2014-10-18 11:53:51 -07:00
2014-10-14 02:18:25 +02:00
2014-10-18 18:11:04 -07:00
2014-10-13 11:28:42 +02:00
2014-10-15 07:23:49 +02:00
2014-10-18 18:11:04 -07:00
2014-10-18 10:25:09 -07:00
2014-10-10 16:40:14 -04:00
2014-10-11 20:29:01 -04:00
2014-10-20 10:30:15 +08:00
2014-10-20 10:30:15 +08:00