From: Axel Lin Date: Wed, 5 Sep 2012 02:19:30 +0000 (+0800) Subject: HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000 X-Git-Tag: upstream/snapshot3+hdmi~6622^2~1^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f4fa6afd31c1002c7cbd13d33dcc6e9d3bef10e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000 Signed-off-by: Axel Lin Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-lcpower.c b/drivers/hid/hid-lcpower.c index c4fe9bd0..22bc14a 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, 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) {