HID: multitouch: do not use pointers towards hid-core
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Wed, 6 Feb 2013 11:10:47 +0000 (12:10 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 7 Feb 2013 14:13:14 +0000 (15:13 +0100)
The previous implementation registered a pointer towards hid-core
to the value of contact count. This is not safe and may be difficult
to debug if hid-core ever changes its implementation.
The use of regular indexes is a better choice.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found