diff options
author | Joe Perches <joe@perches.com> | 2012-10-28 08:05:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 19:32:03 (GMT) |
commit | f2ec522e78ef5cdc12d1dbecf254cdf31eb2b6d3 (patch) | |
tree | 5ddd2b74daf00319b9cf118032292b6bdf6ab619 /drivers/usb/core/hub.c | |
parent | b472b8e22f9f9bc88dc73017d61609684289fb13 (diff) | |
download | linux-fsl-qoriq-f2ec522e78ef5cdc12d1dbecf254cdf31eb2b6d3.tar.xz |
usb: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
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>
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 5b131b6..fbaf3c3 100644 --- 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) |