OSDN Git Service

usb: dummy_hcd: use usb_endpoint_type()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 12 Jan 2012 11:53:14 +0000 (12:53 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 09:40:46 +0000 (11:40 +0200)
commit59f08e6d2015a16fb4856f910ef0660d13a0c767
tree0a35e5060a81dacac7441e718c4efe0cab28b47d
parenta54c979fed31b4230b2e63132f7167206e4e5d69
usb: dummy_hcd: use usb_endpoint_type()

This patch makes use of usb_endpoint_type() instead of the open coding.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/dummy_hcd.c