summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-24 22:46:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-27 11:14:37 +0200
commit61d6a8485db04bdf6eeed187e9790c9a7f38e848 (patch)
tree30500e5386c8064445649e8858b6832a094bd58f /drivers/usb/core/usb.c
parent4a22305307c8f57dd1155cb6ffdcc6c40f8043f2 (diff)
downloadbarebox-61d6a8485db04bdf6eeed187e9790c9a7f38e848.tar.gz
barebox-61d6a8485db04bdf6eeed187e9790c9a7f38e848.tar.xz
usb: Turn some printf into pr_*
So that these messages can be suppressed if necessary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb/core/usb.c')
-rw-r--r--drivers/usb/core/usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
index a7dbe2afa9..68a51d1e1e 100644
--- a/drivers/usb/core/usb.c
+++ b/drivers/usb/core/usb.c
@@ -74,7 +74,7 @@ static LIST_HEAD(usb_device_list);
static void print_usb_device(struct usb_device *dev)
{
- printf("Bus %03d Device %03d: ID %04x:%04x %s\n",
+ pr_info("Bus %03d Device %03d: ID %04x:%04x %s\n",
dev->host->busnum, dev->devnum,
dev->descriptor->idVendor,
dev->descriptor->idProduct,
@@ -529,7 +529,7 @@ void usb_rescan(int force)
struct usb_host *host;
int ret;
- printf("USB: scanning bus for devices...\n");
+ pr_info("USB: scanning bus for devices...\n");
dev_index = 0;
list_for_each_entry(host, &host_list, list) {
@@ -538,7 +538,7 @@ void usb_rescan(int force)
continue;
}
- printf("%d USB Device(s) found\n", dev_index);
+ pr_info("%d USB Device(s) found\n", dev_index);
}
/*