Skip to content

Commit

Permalink
HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc…
Browse files Browse the repository at this point in the history
…0000

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Axel Lin authored and Jiri Kosina committed Sep 5, 2012
1 parent 2f43f87 commit 5f4fa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hid/hid-lcpower.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5f4fa6a

Please sign in to comment.