USB: vmk80xx.c: remove err() usage
authorGreg Kroah-Hartman <[email protected]>
Fri, 20 Apr 2012 23:53:22 +0000 (16:53 -0700)
committerGreg Kroah-Hartman <[email protected]>
Fri, 20 Apr 2012 23:53:22 +0000 (16:53 -0700)
err() was a very old USB-specific macro that I thought had
gone away.  This patch removes it from being used in the
driver and uses dev_err() instead.

CC: Ian Abbott <[email protected]>
CC: Mori Hess <[email protected]>
CC: "J. Ali Harlow" <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/comedi/drivers/vmk80xx.c

index 3d13ca6e16705053b26fce5a0426ef3e29b4f42b..2dba3efdacfa187dd2d24180f16499d4f4273f81 100644 (file)
@@ -295,7 +295,9 @@ resubmit:
                if (!usb_submit_urb(urb, GFP_KERNEL))
                        goto exit;
 
-               err("comedi#: vmk80xx: %s - submit urb failed\n", __func__);
+               dev_err(&urb->dev->dev,
+                       "comedi#: vmk80xx: %s - submit urb failed\n",
+                       __func__);
 
                usb_unanchor_urb(urb);
        }