usb: gadget: epautoconf: switch over to usb_endpoint_type()
authorFelipe Balbi <balbi@ti.com>
Fri, 8 Nov 2013 18:39:29 +0000 (12:39 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:58:16 +0000 (10:58 -0600)
commitc3505f04582f3fee1452613c7d36a1811e524ab4
tree7e83ec39d22a697240db1db7f0888bb5c70c1b0e
parent869c597829817af4b9f85c5e4181c622918dc781
usb: gadget: epautoconf: switch over to usb_endpoint_type()

we have a helper to fetch endpoint type out of
a descriptor, let's use it.

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