summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-topseed.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2013-02-06 12:10:47 +0100
committerJiri Kosina <jkosina@suse.cz>2013-02-07 15:13:14 +0100
commit7e3cc447ff8906558619b1ecc46e4bd776a4f3a6 (patch)
treefb85c661a61af1354982ae83036dccf6d81b6d0b /drivers/hid/hid-topseed.c
parentHID: multitouch: make MT_CLS_ALWAYS_TRUE the new default class (diff)
downloadlinux-7e3cc447ff8906558619b1ecc46e4bd776a4f3a6.tar.xz
linux-7e3cc447ff8906558619b1ecc46e4bd776a4f3a6.zip
HID: multitouch: do not use pointers towards hid-core
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>
Diffstat (limited to 'drivers/hid/hid-topseed.c')
0 files changed, 0 insertions, 0 deletions