diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-09-04 22:19:30 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-09-05 05:55:35 -0400 |
commit | 5f4fa6afd31c1002c7cbd13d33dcc6e9d3bef10e (patch) | |
tree | 7221712dd7f7e712be6916d5984b54acf0a0a958 /drivers/hid/hid-lcpower.c | |
parent | 2f43f8749ebaeb4934f73a6f864fcbb60ce9f48a (diff) |
HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lcpower.c')
-rw-r--r-- | drivers/hid/hid-lcpower.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-lcpower.c b/drivers/hid/hid-lcpower.c index c4fe9bd095b7..22bc14abdfa3 100644 --- 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, | |||
24 | struct hid_field *field, struct hid_usage *usage, | 24 | struct hid_field *field, struct hid_usage *usage, |
25 | unsigned long **bit, int *max) | 25 | unsigned long **bit, int *max) |
26 | { | 26 | { |
27 | if ((usage->hid & HID_USAGE_PAGE) != 0x0ffbc0000) | 27 | if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) |
28 | return 0; | 28 | return 0; |
29 | 29 | ||
30 | switch (usage->hid & HID_USAGE) { | 30 | switch (usage->hid & HID_USAGE) { |