aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/appletouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/input/appletouch.c')
-rw-r--r--drivers/usb/input/appletouch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/appletouch.c b/drivers/usb/input/appletouch.c
index ef6166ab8fe7..e3215267db11 100644
--- a/drivers/usb/input/appletouch.c
+++ b/drivers/usb/input/appletouch.c
@@ -584,7 +584,7 @@ static int atp_probe(struct usb_interface *iface, const struct usb_device_id *id
584 input_dev->name = "appletouch"; 584 input_dev->name = "appletouch";
585 input_dev->phys = dev->phys; 585 input_dev->phys = dev->phys;
586 usb_to_input_id(dev->udev, &input_dev->id); 586 usb_to_input_id(dev->udev, &input_dev->id);
587 input_dev->cdev.dev = &iface->dev; 587 input_dev->dev.parent = &iface->dev;
588 588
589 input_set_drvdata(input_dev, dev); 589 input_set_drvdata(input_dev, dev);
590 590