projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: gpio-keys - allow setting input device name in DT
[deliverable/linux.git]
/
drivers
/
input
/
keyboard
/
gpio_keys.c
diff --git
a/drivers/input/keyboard/gpio_keys.c
b/drivers/input/keyboard/gpio_keys.c
index b9f01bd1b7ef1b76a7b4c0d46f71fc3e4ace1818..671cdc9a6aea0e315a071b833d64875db6b0dd29 100644
(file)
--- a/
drivers/input/keyboard/gpio_keys.c
+++ b/
drivers/input/keyboard/gpio_keys.c
@@
-645,6
+645,8
@@
gpio_keys_get_devtree_pdata(struct device *dev)
pdata->rep = !!of_get_property(node, "autorepeat", NULL);
+ of_property_read_string(node, "label", &pdata->name);
+
i = 0;
for_each_child_of_node(node, pp) {
enum of_gpio_flags flags;
This page took
0.025095 seconds
and
5
git commands to generate.