summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-ntrig.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-ntrig.c
parentdc3e1d8052548f5b46288a1d43c93684f7d64804 (diff)
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-ntrig.c')
0 files changed, 0 insertions, 0 deletions