projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2df5b7
)
HID: picoLCD: use proper device as input_dev parent
author
Bruno Prémont
<bonbons@linux-vserver.org>
Sun, 19 Aug 2012 17:33:56 +0000
(19:33 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 5 Sep 2012 09:48:08 +0000
(11:48 +0200)
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-picolcd_core.c
b/drivers/hid/hid-picolcd_core.c
index 0d0c798e3eedd9e356fd7563d81e222348728d24..8c9ec1facdb4fb236142fb2ecf32731b27874040 100644
(file)
--- 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]);