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/ati_remote2.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/ati_remote2.c')
-rw-r--r-- | drivers/usb/input/ati_remote2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/ati_remote2.c b/drivers/usb/input/ati_remote2.c index 3c38ac649d2e..a9032aa3465f 100644 --- a/drivers/usb/input/ati_remote2.c +++ b/drivers/usb/input/ati_remote2.c | |||
@@ -362,7 +362,7 @@ static int ati_remote2_input_init(struct ati_remote2 *ar2) | |||
362 | idev->phys = ar2->phys; | 362 | idev->phys = ar2->phys; |
363 | 363 | ||
364 | usb_to_input_id(ar2->udev, &idev->id); | 364 | usb_to_input_id(ar2->udev, &idev->id); |
365 | idev->cdev.dev = &ar2->udev->dev; | 365 | idev->dev.parent = &ar2->udev->dev; |
366 | 366 | ||
367 | retval = input_register_device(idev); | 367 | retval = input_register_device(idev); |
368 | if (retval) | 368 | if (retval) |