Merge branch 'for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[deliverable/linux.git] / drivers / staging / winbond / wb35tx.c
index 708c5b05f86c6e929d98fe8e4f9512970a37d525..870cff39a226c2426e6026e113523d5e8748210e 100644 (file)
@@ -49,7 +49,7 @@ static void Wb35Tx_complete(struct urb *pUrb)
 
        /* The URB is completed, check the result */
        if (pWb35Tx->EP4VM_status != 0) {
-               printk("URB submission failed\n");
+               dev_err(&pUrb->dev->dev, "URB submission failed\n");
                pWb35Tx->EP4vm_state = VM_STOP;
                goto error;
        }
@@ -96,7 +96,7 @@ static void Wb35Tx(struct wbsoft_priv *adapter)
        pWb35Tx->EP4vm_state = VM_RUNNING;
        retv = usb_submit_urb(pUrb, GFP_ATOMIC);
        if (retv < 0) {
-               printk("EP4 Tx Irp sending error\n");
+               dev_err(&pUrb->dev->dev, "EP4 Tx Irp sending error\n");
                goto cleanup;
        }
 
@@ -218,7 +218,7 @@ static void Wb35Tx_EP2VM_complete(struct urb *pUrb)
 
        /* The Urb is completed, check the result */
        if (pWb35Tx->EP2VM_status != 0) {
-               printk("EP2 IoCompleteRoutine return error\n");
+               dev_err(&pUrb->dev->dev, "EP2 IoCompleteRoutine return error\n");
                pWb35Tx->EP2vm_state = VM_STOP;
                goto error;
        }
This page took 0.027514 seconds and 5 git commands to generate.