diff options
author | Matthew Wilcox <willy@linux.intel.com> | 2009-09-24 16:19:49 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 11:55:13 -0800 |
commit | 9eb66f71318df6ab73bad2fb924a36777cf0220e (patch) | |
tree | 66d9d80f97dba26e94b6ac20ef8b2910eb58f03d /drivers/usb/host/ehci-hcd.c | |
parent | 00fa43ef09c6bb357d58c14a99181cce09c315c6 (diff) |
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 <willy@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions