Re: [HPDD-discuss] [PATCH v2 1/2] Staging: media: lirc: use USB API functions rather than constants

2015-08-04 Thread Drokin, Oleg
On Aug 4, 2015, at 5:48 PM, Shraddha Barke wrote: > The Coccinelle semantic patch that makes these changes is as follows: > > @@ struct usb_endpoint_descriptor *epd; @@ > > - (epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) > + usb_endpoint_type(epd) > > Signed-off-by: Shraddha Barke >

[PATCH v2 1/2] Staging: media: lirc: use USB API functions rather than constants

2015-08-04 Thread Shraddha Barke
The Coccinelle semantic patch that makes these changes is as follows: @@ struct usb_endpoint_descriptor *epd; @@ - (epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) + usb_endpoint_type(epd) Signed-off-by: Shraddha Barke --- Changes in v2: -Fix subject line drivers/staging/media/lirc/l