]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/misc/usblcd.c
USB: remove info() macro from usb/misc drivers
[linux-2.6-omap-h63xx.git] / drivers / usb / misc / usblcd.c
index d589324bb0d0e618368498a3081487c6c667cbc0..e0ff9ccd866baff21039a6dadbb920a08e866636 100644 (file)
@@ -359,12 +359,13 @@ static int lcd_probe(struct usb_interface *interface, const struct usb_device_id
 
        i = le16_to_cpu(dev->udev->descriptor.bcdDevice);
 
-       info("USBLCD Version %1d%1d.%1d%1d found at address %d",
-               (i & 0xF000)>>12,(i & 0xF00)>>8,(i & 0xF0)>>4,(i & 0xF),
-               dev->udev->devnum);
+       dev_info(&interface->dev, "USBLCD Version %1d%1d.%1d%1d found "
+                "at address %d\n", (i & 0xF000)>>12, (i & 0xF00)>>8,
+                (i & 0xF0)>>4,(i & 0xF), dev->udev->devnum);
 
        /* let the user know what node this device is now attached to */
-       info("USB LCD device now attached to USBLCD-%d", interface->minor);
+       dev_info(&interface->dev, "USB LCD device now attached to USBLCD-%d\n",
+                interface->minor);
        return 0;
 
 error:
@@ -413,7 +414,7 @@ static void lcd_disconnect(struct usb_interface *interface)
        /* decrement our usage count */
        kref_put(&dev->kref, lcd_delete);
 
-       info("USB LCD #%d now disconnected", minor);
+       dev_info(&interface->dev, "USB LCD #%d now disconnected\n", minor);
 }
 
 static struct usb_driver lcd_driver = {