projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f43f87
)
HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000
author
Axel Lin
<axel.lin@gmail.com>
Wed, 5 Sep 2012 02:19:30 +0000
(10:19 +0800)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 5 Sep 2012 09:55:35 +0000
(11:55 +0200)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lcpower.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-lcpower.c
b/drivers/hid/hid-lcpower.c
index
c4fe9bd
..
22bc14a
100644
(file)
--- a/
drivers/hid/hid-lcpower.c
+++ b/
drivers/hid/hid-lcpower.c
@@
-24,7
+24,7
@@
static int ts_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit, int *max)
{
- if ((usage->hid & HID_USAGE_PAGE) !=
0x0ffbc0000
)
+ if ((usage->hid & HID_USAGE_PAGE) !=
HID_UP_LOGIVENDOR
)
return 0;
switch (usage->hid & HID_USAGE) {