diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/input.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index e1729e1dd9b..6ee8af8963f 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -1395,9 +1395,6 @@ int input_register_device(struct input_dev *dev) snprintf(dev->dev.bus_id, sizeof(dev->dev.bus_id), "input%ld", (unsigned long) atomic_inc_return(&input_no) - 1); - if (dev->cdev.dev) - dev->dev.parent = dev->cdev.dev; - error = device_add(&dev->dev); if (error) return error; |