remote->data.tester = remote->data.tester >> 6;
remote->data.bits_left -= 6;
} else {
- dev_err(&remote->udev->dev,
+ dev_err(&remote->input->dev,
"%s - Unknown sequence found in system data.\n",
__func__);
remote->stage = 0;
remote->data.tester = remote->data.tester >> 6;
remote->data.bits_left -= 6;
} else {
- dev_err(&remote->udev->dev,
+ dev_err(&remote->input->dev,
"%s - Unknown sequence found in button data.\n",
__func__);
remote->stage = 0;
remote->data.tester = remote->data.tester >> 6;
remote->data.bits_left -= 6;
} else {
- dev_err(&remote->udev->dev,
+ dev_err(&remote->input->dev,
"%s - Error in message, invalid toggle.\n",
__func__);
remote->stage = 0;
remote->data.tester = remote->data.tester >> 5;
remote->data.bits_left -= 5;
} else {
- dev_err(&remote->udev->dev,
+ dev_err(&remote->input->dev,
"Bad message received, no stop bit found.\n");
}
resubmit:
retval = usb_submit_urb(urb, GFP_ATOMIC);
if (retval)
- dev_err(&dev->udev->dev,
+ dev_err(&dev->input->dev,
"%s - usb_submit_urb failed with result: %d\n",
__func__, retval);
}