From: Jason Gerecke Date: Thu, 16 Apr 2015 00:22:32 +0000 (-0700) Subject: HID: wacom: Simplify check for presence of single-finger touch X-Git-Tag: omap-for-v4.2/fixes-rc1^2~157^2^9~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71b5c4766c1ca4c646a90f64552b140b1368f2f1;p=pandora-kernel.git HID: wacom: Simplify check for presence of single-finger touch To determine if a touch is present in the single-touch case, we can simply check if the BTN_TOUCH key is active or not. This will work for both HID_GENERIC and other device types. Signed-off-by: Jason Gerecke Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed