diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2012-08-19 19:33:56 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-09-05 11:48:08 +0200 |
commit | eb9001cd8ffff9c9b1ed1ea85d36c862bea964c0 (patch) | |
tree | 5ab2a22e1c84c85dae3210e7f2566d1cc5f822d5 /drivers/hid/hid-picolcd_core.c | |
parent | f2df5b78394faaaaa6989396495b297756974469 (diff) |
HID: picoLCD: use proper device as input_dev parent
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd_core.c')
-rw-r--r-- | drivers/hid/hid-picolcd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-picolcd_core.c b/drivers/hid/hid-picolcd_core.c index 0d0c798e3eed..8c9ec1facdb4 100644 --- a/drivers/hid/hid-picolcd_core.c +++ b/drivers/hid/hid-picolcd_core.c @@ -446,7 +446,7 @@ static int picolcd_init_keys(struct picolcd_data *data, idev->id.vendor = hdev->vendor; idev->id.product = hdev->product; idev->id.version = hdev->version; - idev->dev.parent = hdev->dev.parent; + idev->dev.parent = &hdev->dev; idev->keycode = &data->keycode; idev->keycodemax = PICOLCD_KEYS; idev->keycodesize = sizeof(data->keycode[0]); |