diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:35:03 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:35:03 -0400 |
commit | c0f82d570c84f2592367e350a92ebd71e72ba68a (patch) | |
tree | 2286c5bc4422b6d7e4682e24df415eb8e33e7ca2 /drivers/usb/input/usbtouchscreen.c | |
parent | 469ba4dff954389f58cebb3df645e24433dcd565 (diff) |
Input: USB devices - switch to using input_dev->dev.parent
In preparation for struct class_device -> struct device input
core conversion, switch to using input_dev->dev.parent when
specifying device position in sysfs tree.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input/usbtouchscreen.c')
-rw-r--r-- | drivers/usb/input/usbtouchscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/usbtouchscreen.c b/drivers/usb/input/usbtouchscreen.c index 169692729b80..e0829413336b 100644 --- a/drivers/usb/input/usbtouchscreen.c +++ b/drivers/usb/input/usbtouchscreen.c | |||
@@ -740,7 +740,7 @@ static int usbtouch_probe(struct usb_interface *intf, | |||
740 | input_dev->name = usbtouch->name; | 740 | input_dev->name = usbtouch->name; |
741 | input_dev->phys = usbtouch->phys; | 741 | input_dev->phys = usbtouch->phys; |
742 | usb_to_input_id(udev, &input_dev->id); | 742 | usb_to_input_id(udev, &input_dev->id); |
743 | input_dev->cdev.dev = &intf->dev; | 743 | input_dev->dev.parent = &intf->dev; |
744 | 744 | ||
745 | input_set_drvdata(input_dev, usbtouch); | 745 | input_set_drvdata(input_dev, usbtouch); |
746 | 746 | ||