]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3aa9a8c48de08224b52f0e679c2a4cde03c35bbf
tree0a35e5060a81dacac7441e718c4efe0cab28b47d
parentea352fb6760f8d7d85dbca0c5ce4fc0b662cfe09
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