USB: gadgetfs cleanups
commit7489d14943181731ef8694e2ea2d5a919b93b956
authorDavid Brownell <david-b@pacbell.net>
Wed, 17 Jan 2007 06:51:04 +0000 (16 22:51 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:38 +0000 (7 15:44 -0800)
treefa639b94c4162cee06e92064e0f3b5d186f2373c
parent3ff4fd94c86259e44d58946af34231a1586b5d93
USB: gadgetfs cleanups

Minor gadgetfs cleanups:

 - EP0 state constants become consistently STATE_DEV_* rather than
   sometimes omitting the "DEV_"; STATE_EP_* were already consistent.

 - Comment that ep0 state is protected by the spinlock, and update
   code that was neglecting that rule.

None of this is expected to change behavior.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/inode.c