mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
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>
This commit is contained in:
parent
f2df5b7839
commit
eb9001cd8f
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user