Input: wacom - use per-device instance of wacom_features
authorJason Childs <oblivian@users.sourceforge.net>
Thu, 18 Feb 2010 06:38:31 +0000 (22:38 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Feb 2010 09:25:16 +0000 (01:25 -0800)
commite33da8a5486aaadf5161118869e6cfb3d119beea
treeff5819b0f2e192557f6d9848698a65d988ee8983
parent4e45ad5e89128939c671e927f030cb3909fe1d69
Input: wacom - use per-device instance of wacom_features

Since we mangle data in wacom_features when dealing with certain devices let's
use a private (per-device) instance of wacom_features in wacom_wac. This way
same product ID can support more than one type of device, such as pen and touch,
and not interfere with each other.

Signed-off-by: Jason Childs <oblivian@users.sourceforge.net>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_sys.c
drivers/input/tablet/wacom_wac.c
drivers/input/tablet/wacom_wac.h