usb: gadget: epautoconf: rework ep_matches() function
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 6 Aug 2015 12:11:09 +0000 (14:11 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 6 Aug 2015 14:24:07 +0000 (09:24 -0500)
commit26bf956aa9952a8141a12f314df70dcd020572d6
tree3436da408b1ee713a27da841a6e3090e657e306b
parent5dbe135a153837ce9367bdfacf7aabfc6fb76f4b
usb: gadget: epautoconf: rework ep_matches() function

Rework ep_matches() function to make it shorter and more readable.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/epautoconf.c