HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000
[deliverable/linux.git] / drivers / hid / hid-lcpower.c
index c4fe9bd095b7f2c255c44b031624d167c3c0eb69..22bc14abdfa3d23e0f187d0cf8eb2efb7cef223f 100644 (file)
@@ -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) {
This page took 0.02651 seconds and 5 git commands to generate.