From: Himangi Saraogi Date: Fri, 15 Aug 2014 16:24:12 +0000 (+0530) Subject: isdn/gigaset: use USB API functions rather than constants X-Git-Tag: fixes-against-v3.18-rc2~81^2~265 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1898a0eeec94e04998460a2ad34e6b20ba68e7c;p=pandora-kernel.git isdn/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