OSDN Git Service

HID: core: store the collections as a basic tree
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Dec 2018 00:42:22 +0000 (10:42 +1000)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 7 Dec 2018 15:27:12 +0000 (16:27 +0100)
commitc53431eb696f3c64c12c00afb81048af54b61532
treec0f52c90c7a7fdbace4088af27c41fe9de6103b0
parent52ea899637c746984d657b508da6e3f2686adfca
HID: core: store the collections as a basic tree

For each collection parsed, store a pointer to the parent collection
(if any). This makes it a lot easier to look up which collection(s)
any given item is part of

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Verified-by: Harry Cutts <hcutts@chromium.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-core.c
include/linux/hid.h