diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:34:58 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-04-12 01:34:58 -0400 |
commit | 469ba4dff954389f58cebb3df645e24433dcd565 (patch) | |
tree | 35d86557771f367562aef062b12f8ecd64eba7c2 /drivers/input/keyboard/gpio_keys.c | |
parent | 88a447a030bfec9f1e8666daf27d9d73c8c92448 (diff) | |
download | talos-op-linux-469ba4dff954389f58cebb3df645e24433dcd565.tar.gz talos-op-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/gpio_keys.c')
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index b94399359ee8..71771ba61230 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c @@ -65,7 +65,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev) input->name = pdev->name; input->phys = "gpio-keys/input0"; - input->cdev.dev = &pdev->dev; + input->dev.parent = &pdev->dev; input->id.bustype = BUS_HOST; input->id.vendor = 0x0001; |