]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: vt6556: Replace printk by dev_warn
authorPeter Senna Tschudin <peter.senna@gmail.com>
Wed, 16 Jul 2014 16:08:02 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:30:32 +0000 (13:30 -0700)
This patch fixes a checkpatch warning by replacing printk
by dev_warn. Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c

index a3057dac12e91d8f224fae7c4293bd005a8cfb4b..c595a158caf47c7695703435d9bb961fe0c6cc27 100644 (file)
@@ -534,7 +534,8 @@ static void usb_device_reset(struct vnt_private *pDevice)
 
        status = usb_reset_device(pDevice->usb);
        if (status)
-            printk("usb_device_reset fail status=%d\n",status);
+               dev_warn(&pDevice->usb->dev,
+                        "usb_device_reset fail status=%d\n", status);
        return ;
 }