USB: Goku-S: use helper functions to determine endpoint type and direction
commit9ab1565151dff37a7d7687bfe5cfafb62c7d5e49
authorMatthias Kaehlcke <matthias@kaehlcke.net>
Wed, 15 Apr 2009 20:28:21 +0000 (15 22:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:42 +0000 (15 21:44 -0700)
treee89144306ad84ea93128522665994d93355f364a
parent81c8d8d28d6f2750acd4e41de34aefeb9404431c
USB: Goku-S: use helper functions to determine endpoint type and direction

Use helper functions to determine the type and direction of an endpoint
instead of fiddling with bEndpointAddress and bmAttributes

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/goku_udc.c