mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 20:04:16 +08:00
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>
This commit is contained in:
parent
b472b8e22f
commit
f2ec522e78
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user