aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/acecad.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/acecad.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/acecad.c')
-rw-r--r--drivers/usb/input/acecad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/acecad.c b/drivers/usb/input/acecad.c
index 75972b7d4c83..be8e9243c062 100644
--- a/drivers/usb/input/acecad.c
+++ b/drivers/usb/input/acecad.c
@@ -185,7 +185,7 @@ static int usb_acecad_probe(struct usb_interface *intf, const struct usb_device_
185 input_dev->name = acecad->name; 185 input_dev->name = acecad->name;
186 input_dev->phys = acecad->phys; 186 input_dev->phys = acecad->phys;
187 usb_to_input_id(dev, &input_dev->id); 187 usb_to_input_id(dev, &input_dev->id);
188 input_dev->cdev.dev = &intf->dev; 188 input_dev->dev.parent = &intf->dev;
189 189
190 input_set_drvdata(input_dev, acecad); 190 input_set_drvdata(input_dev, acecad);
191 191