error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC);
if (error)
- dev_err(&dev->intf->dev,
+ dev_err(&dev->idev->dev,
"%s: usb_submit_urb (urb_ctl) failed %d\n",
__func__, error);
}
if (status) {
if (status == -ESHUTDOWN)
return;
- dev_err(&dev->intf->dev, "%s: urb status %d\n", __func__, status);
+ dev_err(&dev->idev->dev, "%s: urb status %d\n", __func__, status);
}
/* Special keys */
error = usb_submit_urb(dev->urb_ctl, GFP_ATOMIC);
if (error)
- dev_err(&dev->intf->dev,
+ dev_err(&dev->idev->dev,
"%s: usb_submit_urb (urb_ctl) failed %d\n",
__func__, error);
}
dev->ctl_data->byte[3]);
if (status)
- dev_err(&dev->intf->dev, "%s: urb status %d\n", __func__, status);
+ dev_err(&dev->idev->dev, "%s: urb status %d\n", __func__, status);
spin_lock(&dev->ctl_submit_lock);
dev->irq_urb_pending = 1;
error = usb_submit_urb(dev->urb_irq, GFP_ATOMIC);
if (error)
- dev_err(&dev->intf->dev,
+ dev_err(&dev->idev->dev,
"%s: usb_submit_urb (urb_irq) failed %d\n",
__func__, error);
}
dev->ctl_data,
USB_PKT_LEN, USB_CTRL_SET_TIMEOUT);
if (error < 0 && error != -EINTR)
- dev_err(&dev->intf->dev, "%s: usb_control_msg() failed %d\n",
+ dev_err(&dev->idev->dev, "%s: usb_control_msg() failed %d\n",
__func__, error);
}