]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45803a399e9d109ba7e440c7d855f287ea1cae8f
treeff5819b0f2e192557f6d9848698a65d988ee8983
parent9babacc6b967e6c58fa8d3322964694b12e960eb
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