aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/aiptek.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:35:03 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:35:03 -0400
commitc0f82d570c84f2592367e350a92ebd71e72ba68a (patch)
tree2286c5bc4422b6d7e4682e24df415eb8e33e7ca2 /drivers/usb/input/aiptek.c
parent469ba4dff954389f58cebb3df645e24433dcd565 (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/aiptek.c')
-rw-r--r--drivers/usb/input/aiptek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/aiptek.c b/drivers/usb/input/aiptek.c
index 8b33a8eae8a1..cc0a498763d8 100644
--- a/drivers/usb/input/aiptek.c
+++ b/drivers/usb/input/aiptek.c
@@ -2044,7 +2044,7 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id)
2044 inputdev->name = "Aiptek"; 2044 inputdev->name = "Aiptek";
2045 inputdev->phys = aiptek->features.usbPath; 2045 inputdev->phys = aiptek->features.usbPath;
2046 usb_to_input_id(usbdev, &inputdev->id); 2046 usb_to_input_id(usbdev, &inputdev->id);
2047 inputdev->cdev.dev = &intf->dev; 2047 inputdev->dev.parent = &intf->dev;
2048 2048
2049 input_set_drvdata(inputdev, aiptek); 2049 input_set_drvdata(inputdev, aiptek);
2050 2050