From: Benjamin Tissoires Date: Mon, 5 Jan 2015 21:32:12 +0000 (-0500) Subject: HID: wacom: use WACOM_*_FIELD macros in wacom_usage_mapping() X-Git-Tag: fixes-v4.0-rc1~153^2^8~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97a552210320d3bec8ee22b8ccdb1d6d189482a;p=pandora-kernel.git HID: wacom: use WACOM_*_FIELD macros in wacom_usage_mapping() We introduced nice macros in wacom_wac.c to check whether a field is a pen or a touch one. wacom_usage_mapping() still uses it's own tests, which are not in sync with the wacom_wac tests (.application is not checked). That means that some legitimate fields might be filtered out from the usage mapping, and thus will not be used properly while receiving the events. Signed-off-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed