]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB Storage: code cleanups for onetouch.c
authorNick Sillik <n.sillik@temple.edu>
Wed, 17 Aug 2005 17:37:34 +0000 (13:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 23:30:33 +0000 (16:30 -0700)
commitd6450e19329c85ac4888c185429094236a650928
treed83f2bbf989b838498d85cc05ad0a16b451211c1
parent0256839619d9b1e933cafc83e7f0deaad4216465
[PATCH] USB Storage: code cleanups for onetouch.c

As sugested by Alan Stern here are a few code cleanups for onetouch.c:

-Check number of endpoints before directly referencing intf->endpoint[2]
-Use defined constants instead of magic numbers
-Revmove the non-ascii characters from copyright notice
-Make registration and deregistration messages more similar

Signed-off-by: Nick Sillik <n.sillik@temple.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/onetouch.c