diff options
author | Ping Cheng <pinglinux@gmail.com> | 2015-03-20 22:57:00 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-04-02 14:09:59 +0200 |
commit | f3586d2f819af6dbe5b08d2a6f1d22b1a97e2b64 (patch) | |
tree | e5885fca2b4aabb63e604bf9109a899155f6cb44 /mm/rmap.c | |
parent | Merge branch 'for-4.0/upstream-fixes' into for-4.1/wacom (diff) | |
download | linux-f3586d2f819af6dbe5b08d2a6f1d22b1a97e2b64.tar.xz linux-f3586d2f819af6dbe5b08d2a6f1d22b1a97e2b64.zip |
HID: wacom: remove hardcoded WACOM_QUIRK_MULTI_INPUT
The quirk was added for devices that support both pen and touch. It decides if
a device supports multiple inputs by hardcoded feature type. However, for some
devices, we do not know if they support both before accessing their HID
descriptors.
This patch relies on dynamically assigned device_type to make the decision.
Also, we make it certain that wacom_wac->shared is always created. That is, the
driver will not be loaded if it fails to create wacom_wac->shared.
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions