From: Himangi Saraogi Date: Sun, 17 Aug 2014 00:31:20 +0000 (+0530) Subject: isdn/bas_gigaset: use USB API functions rather than constants X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~264 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14462b6e8c06a7b4e0977e93e44b3decab0951b0;p=pandora-kernel.git isdn/bas_gigaset: use USB API functions rather than constants This patch introduces the use of the function 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) Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Acked-by: Tilman Schmidt Signed-off-by: David S. Miller --- Reading git-diff-tree failed