diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 07:34:58 +0200 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 07:34:58 +0200 |
commit | 469ba4dff954389f58cebb3df645e24433dcd565 (patch) | |
tree | 35d86557771f367562aef062b12f8ecd64eba7c2 /drivers/input/keyboard/omap-keypad.c | |
parent | Input: prepare to switching to struct device (diff) | |
download | linux-469ba4dff954389f58cebb3df645e24433dcd565.tar.xz linux-469ba4dff954389f58cebb3df645e24433dcd565.zip |
Input: keyboards - 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/input/keyboard/omap-keypad.c')
-rw-r--r-- | drivers/input/keyboard/omap-keypad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index 1790f0c15f11..3a228634f101 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c @@ -370,7 +370,7 @@ static int __init omap_kp_probe(struct platform_device *pdev) set_bit(keymap[i] & KEY_MAX, input_dev->keybit); input_dev->name = "omap-keypad"; input_dev->phys = "omap-keypad/input0"; - input_dev->cdev.dev = &pdev->dev; + input_dev->dev.parent = &pdev->dev; input_dev->id.bustype = BUS_HOST; input_dev->id.vendor = 0x0001; |