interface = usb_find_interface(&ld_usb_driver, subminor);
 
        if (!interface) {
-               err("%s - error, can't find device for minor %d\n",
-                    __func__, subminor);
+               printk(KERN_ERR "%s - error, can't find device for minor %d\n",
+                      __func__, subminor);
                return -ENODEV;
        }
 
        /* verify that the device wasn't unplugged */
        if (dev->intf == NULL) {
                retval = -ENODEV;
-               err("No device or device unplugged %d\n", retval);
+               printk(KERN_ERR "ldusb: No device or device unplugged %d\n", retval);
                goto unlock_exit;
        }
 
        /* verify that the device wasn't unplugged */
        if (dev->intf == NULL) {
                retval = -ENODEV;
-               err("No device or device unplugged %d\n", retval);
+               printk(KERN_ERR "ldusb: No device or device unplugged %d\n", retval);
                goto unlock_exit;
        }
 
                                         bytes_to_write,
                                         USB_CTRL_SET_TIMEOUT * HZ);
                if (retval < 0)
-                       err("Couldn't submit HID_REQ_SET_REPORT %d\n", retval);
+                       dev_err(&dev->intf->dev,
+                               "Couldn't submit HID_REQ_SET_REPORT %d\n",
+                               retval);
                goto unlock_exit;
        }
 
        retval = usb_submit_urb(dev->interrupt_out_urb, GFP_KERNEL);
        if (retval) {
                dev->interrupt_out_busy = 0;
-               err("Couldn't submit interrupt_out_urb %d\n", retval);
+               dev_err(&dev->intf->dev,
+                       "Couldn't submit interrupt_out_urb %d\n", retval);
                goto unlock_exit;
        }
        retval = bytes_to_write;