diff options
author | Benjamin Tissoires <benjamin.tissoires@gmail.com> | 2013-02-06 12:10:47 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-02-07 15:13:14 +0100 |
commit | 7e3cc447ff8906558619b1ecc46e4bd776a4f3a6 (patch) | |
tree | fb85c661a61af1354982ae83036dccf6d81b6d0b /drivers/hid/hid-topseed.c | |
parent | HID: multitouch: make MT_CLS_ALWAYS_TRUE the new default class (diff) | |
download | linux-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