USB: gadgetfs simplifications
authorDavid Brownell <david-b@pacbell.net>
Wed, 17 Jan 2007 06:53:58 +0000 (22:53 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:38 +0000 (15:44 -0800)
commit0864c7a9286b02319d3db2103bada1c2269c1e1e
treec88010084741f6f89a22bb3da211a9aa5a610f64
parent7489d14943181731ef8694e2ea2d5a919b93b956
USB: gadgetfs simplifications

This simplifies event reading by eliminating arithmetic and being
more direct/obvious, and tweaks some debug messages slightly.
The math elimination will change timings, sometimes enough to
allow a race to appear.

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