Commit a5f5ea23 authored by Matt Kraai's avatar Matt Kraai Committed by Greg Kroah-Hartman

USB: skeleton: Use dev_info instead of info

338b67b0 removed the info macro and
replaced its uses with dev_info.  This patch does so for
usb-skeleton.c, which was missed.
Signed-off-by: default avatarMatt Kraai <kraai@ftbfs.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0eb526b9
......@@ -410,7 +410,9 @@ static int skel_probe(struct usb_interface *interface, const struct usb_device_i
}
/* let the user know what node this device is now attached to */
info("USB Skeleton device now attached to USBSkel-%d", interface->minor);
dev_info(&interface->dev,
"USB Skeleton device now attached to USBSkel-%d",
interface->minor);
return 0;
error:
......@@ -441,7 +443,7 @@ static void skel_disconnect(struct usb_interface *interface)
/* decrement our usage count */
kref_put(&dev->kref, skel_delete);
info("USB Skeleton #%d now disconnected", minor);
dev_info(&interface->dev, "USB Skeleton #%d now disconnected", minor);
}
static void skel_draw_down(struct usb_skel *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment