]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/misc/usblcd.c
USB: remove warn() macro from usb drivers
[linux-2.6-omap-h63xx.git] / drivers / usb / misc / usblcd.c
index 2db4228fbb016bce9548e899bad64a17dc428f7e..d589324bb0d0e618368498a3081487c6c667cbc0 100644 (file)
@@ -311,7 +311,7 @@ static int lcd_probe(struct usb_interface *interface, const struct usb_device_id
        dev->interface = interface;
 
        if (le16_to_cpu(dev->udev->descriptor.idProduct) != 0x0001) {
-               warn(KERN_INFO "USBLCD model not supported.");
+               dev_warn(&interface->dev, "USBLCD model not supported.\n");
                return -ENODEV;
        }