usb: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
authorJoe Perches <joe@perches.com>
Sun, 28 Oct 2012 08:05:51 +0000 (01:05 -0700)
committerGreg 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

index 5b131b6477db060d37fb9c347736b1aad5a3f415..fbaf3c3dbf0751e6a083d8ce27fd91b0bb795aba 100644 (file)
@@ -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)