From: David Brownell Date: Thu, 2 Aug 2007 07:02:47 +0000 (-0700) Subject: USB: gadget: serial gadget cleanups X-Git-Tag: v2.6.24-rc1~1395^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51a0e85cd9b47e2e6332b40ea486cc1659d8a3ec;p=pandora-kernel.git USB: gadget: serial gadget cleanups Clean up the serial gadget, using newer APIs and conventions: - gadget_is_dualspeed() and gadget_is_otg() ... #ifdef removal - Remove many now-needless #includes - Use the DEBUG and VERBOSE_DEBUG conventions; turned up a bug in the original debug messaging - Various whitespace fixes. This gave only a minor object code shrinkage, but the source looks much cleaner in various places. Signed-off-by: David Brownell Cc: Al Borchers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed