Input: wacom - fix retrieving touch_max bug
authorPing Cheng <pinglinux@gmail.com>
Thu, 28 Jun 2012 23:46:27 +0000 (16:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Jun 2012 00:02:40 +0000 (17:02 -0700)
commit61c91dd4a58b21a783e37208f4d02e3cb4b637c4
treef14fc79eed746fb7102198576e89c351bd3f9564
parent2177905ca7419c49910d47e38e44790affd918cc
Input: wacom - fix retrieving touch_max bug

rep_data is not an array anymore, so taking it's address when passing to
wacom_get_report() is wrong.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Tested-by: Rafi Rubin <rafi@seas.upenn.edu>
Reviewed-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_sys.c