Input: penmount - rework handling of different protocols
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 13 Sep 2011 05:12:58 +0000 (22:12 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Sep 2011 05:46:30 +0000 (22:46 -0700)
commit98b013eb7a94cfd29fcc782f3b7d9f9fe06ac50d
treecb2f76a8e6bdfdf24055e1564ec2085a72b99f6d
parentbd8f6d2ed416d6c70fc3d4f98b165a56e025331c
Input: penmount - rework handling of different protocols

Instead of having one large switch based on product ID use pointer to
function actually doing protocol decoding.

Tested-by: John Sung <penmount.touch@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/penmount.c