From: David Brownell Date: Thu, 2 Aug 2007 07:03:39 +0000 (-0700) Subject: USB: gadget: file storage gadget cleanups X-Git-Tag: v2.6.24-rc1~1395^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e806f67cc570d25395469a0ded0df8ffbd4d82f;p=pandora-kernel.git USB: gadget: file storage gadget cleanups Clean up the file storage gadget, using newer APIs and conventions: - gadget_is_dualspeed() and gadget_is_otg() ... #ifdef removal - Remove many now-needless #includes - Use the DEBUG (from Kconfig+Makefile) and VERBOSE_DEBUG conventions. - Remove some "sparse" warnings (it still dislikes the __user annotations) This gave only a minor object code shrinkage. Signed-off-by: David Brownell Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed