From: Joe Perches Date: Sun, 28 Oct 2012 08:05:51 +0000 (-0700) Subject: usb: Convert dev_printk(KERN_ to dev_( X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f2ec522e78ef5cdc12d1dbecf254cdf31eb2b6d3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: Convert dev_printk(KERN_ to dev_( dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Signed-off-by: Joe Perches Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 5b131b6477db..fbaf3c3dbf07 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)