projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b472b8e
)
usb: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
author
Joe Perches
<joe@perches.com>
Sun, 28 Oct 2012 08:05:51 +0000
(
01:05
-0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 19:32:03 +0000
(12:32 -0700)
dev_<level> calls take less code than dev_printk(KERN_<LEVEL>
and reducing object size is good.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 5b131b6477db060d37fb9c347736b1aad5a3f415..fbaf3c3dbf0751e6a083d8ce27fd91b0bb795aba 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-2055,7
+2055,7
@@
static void show_string(struct usb_device *udev, char *id, char *string)
{
if (!string)
return;
- dev_
printk(KERN_INFO,
&udev->dev, "%s: %s\n", id, string);
+ dev_
info(
&udev->dev, "%s: %s\n", id, string);
}
static void announce_device(struct usb_device *udev)