From: Matthew Wilcox Date: Thu, 24 Sep 2009 22:19:49 +0000 (-0600) Subject: USB Storage: Make driver less chatty when it finds a new device X-Git-Tag: v2.6.33-rc1~315^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb66f71318df6ab73bad2fb924a36777cf0220e;p=pandora-kernel.git USB Storage: Make driver less chatty when it finds a new device Use dev_dbg() instead of an unconditional printk(KERN_DEBUG). This has two benefits; one is that it identifies the USB device which the messages related to, and the other is that the messages won't be produced unless debug is turned on. Enable the debug messages when CONFIG_USB_STORAGE_DEBUG is set. Signed-off-by: Matthew Wilcox Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed