diff options
author | Matt Kraai <kraai@ftbfs.org> | 2009-02-06 22:38:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:20:30 -0400 |
commit | a5f5ea230d70f5dde4d787208855fa3c3cd7b31e (patch) | |
tree | 690c07ad1d7d1fe70af40980590ca99836d2973e /drivers/usb/usb-skeleton.c | |
parent | 0eb526b96ced3759e7d4445fc55204f314e33d8c (diff) |
USB: skeleton: Use dev_info instead of info
338b67b0c1a97ca705023a8189cf41aa0828d294 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: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/usb-skeleton.c')
-rw-r--r-- | drivers/usb/usb-skeleton.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c index be76084c8d7e..60ba631e99c2 100644 --- a/drivers/usb/usb-skeleton.c +++ b/drivers/usb/usb-skeleton.c | |||
@@ -410,7 +410,9 @@ static int skel_probe(struct usb_interface *interface, const struct usb_device_i | |||
410 | } | 410 | } |
411 | 411 | ||
412 | /* let the user know what node this device is now attached to */ | 412 | /* let the user know what node this device is now attached to */ |
413 | info("USB Skeleton device now attached to USBSkel-%d", interface->minor); | 413 | dev_info(&interface->dev, |
414 | "USB Skeleton device now attached to USBSkel-%d", | ||
415 | interface->minor); | ||
414 | return 0; | 416 | return 0; |
415 | 417 | ||
416 | error: | 418 | error: |
@@ -441,7 +443,7 @@ static void skel_disconnect(struct usb_interface *interface) | |||
441 | /* decrement our usage count */ | 443 | /* decrement our usage count */ |
442 | kref_put(&dev->kref, skel_delete); | 444 | kref_put(&dev->kref, skel_delete); |
443 | 445 | ||
444 | info("USB Skeleton #%d now disconnected", minor); | 446 | dev_info(&interface->dev, "USB Skeleton #%d now disconnected", minor); |
445 | } | 447 | } |
446 | 448 | ||
447 | static void skel_draw_down(struct usb_skel *dev) | 449 | static void skel_draw_down(struct usb_skel *dev) |