projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UPSTREAM: PM / devfreq: rk3399_dmc: Remove explictly regulator_put call in .remove
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hid-lenovo.c
diff --git
a/drivers/hid/hid-lenovo.c
b/drivers/hid/hid-lenovo.c
index e4bc6cb6d7fa5d5481f650c87fde01a7348fdb6a..8979f1fd5208f95e9f707c46b77373f4c975b3b4 100644
(file)
--- a/
drivers/hid/hid-lenovo.c
+++ b/
drivers/hid/hid-lenovo.c
@@
-848,7
+848,7
@@
static void lenovo_remove(struct hid_device *hdev)
hid_hw_stop(hdev);
}
-static
void
lenovo_input_configured(struct hid_device *hdev,
+static
int
lenovo_input_configured(struct hid_device *hdev,
struct hid_input *hi)
{
switch (hdev->product) {
@@
-863,6
+863,8
@@
static void lenovo_input_configured(struct hid_device *hdev,
}
break;
}
+
+ return 0;
}