Joe Perches 75b9130e8a usb: storage: Add usb_stor_dbg, reduce object size
Reduce the size of the objects by consolidating
the duplicated USB_STORAGE into a single function.

Add function usb_stor_dbg to emit debugging messages.
Always validate the format and arguments.
Reduce the number of uses of CONFIG_USB_STORAGE_DEBUG.

Reduces size of objects ~7KB when CONFIG_USB_STORAGE_DEBUG
is set.

$ size drivers/usb/storage/built-in.o*
   text	   data	    bss	    dec	    hex	filename
 140133	  55296	  70312	 265741	  40e0d	drivers/usb/storage/built-in.o.new
 147494	  55248	  70296	 273038	  42a8e	drivers/usb/storage/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-17 10:01:22 -07:00
..
2013-04-05 19:29:36 -07:00
2013-03-23 12:33:36 -07:00
2013-02-21 15:27:22 -08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-04-04 08:40:14 -07:00
2013-04-05 19:29:36 -07:00
2013-04-08 08:36:40 -07:00
2013-03-01 13:39:00 -08:00
2013-03-18 08:17:14 -07:00
2013-03-27 09:25:11 -07:00
2013-03-15 12:58:12 -07:00
2013-03-18 08:27:41 -07:00
2013-04-08 08:36:40 -07:00
2013-02-26 09:34:29 -08:00
2013-02-27 19:10:18 -08:00
2013-03-21 13:35:39 +01:00
2013-03-25 16:04:22 -07:00
2013-04-05 10:04:41 -07:00
2013-04-01 12:14:26 -07:00
2013-03-28 15:53:33 -07:00
2013-02-27 19:10:19 -08:00
2013-03-27 12:56:25 -07:00
2013-02-22 23:31:31 -05:00
2013-02-21 13:57:13 -08:00
2013-03-18 11:18:05 +02:00