diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-30 00:07:50 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-10-30 09:29:05 -0400 |
commit | a6c2490f010d9235b1424110c6f414460e41dfe1 (patch) | |
tree | 2c7d6773739791bfa0510e1ea27e88a3e5ab4cdb /drivers/input/evdev.c | |
parent | dde4ac07263161264d089c7556d0295487787b77 (diff) |
Input: struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r-- | drivers/input/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 377b2007377e..c69a58fe54d8 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -820,7 +820,7 @@ static int evdev_connect(struct input_handler *handler, struct input_dev *dev, | |||
820 | evdev->handle.handler = handler; | 820 | evdev->handle.handler = handler; |
821 | evdev->handle.private = evdev; | 821 | evdev->handle.private = evdev; |
822 | 822 | ||
823 | strlcpy(evdev->dev.bus_id, evdev->name, sizeof(evdev->dev.bus_id)); | 823 | dev_set_name(&evdev->dev, evdev->name); |
824 | evdev->dev.devt = MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor); | 824 | evdev->dev.devt = MKDEV(INPUT_MAJOR, EVDEV_MINOR_BASE + minor); |
825 | evdev->dev.class = &input_class; | 825 | evdev->dev.class = &input_class; |
826 | evdev->dev.parent = &dev->dev; | 826 | evdev->dev.parent = &dev->dev; |