]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-lg4ff: Store pointer to the output HID report struct in the device entry...
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 8 Apr 2015 20:56:49 +0000 (22:56 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 7 May 2015 14:27:17 +0000 (16:27 +0200)
commit10af9e744045c953aab2ca214ed9c50ed1c0226e
tree7ab3f037342eaffa5618e4dc3e5dd5f5bca58411
parent16cdefe35e55116b49c1d09df06954a918de3305
HID: hid-lg4ff: Store pointer to the output HID report struct in the device entry struct

Store pointer to the output HID report struct in the device entry struct.
This eliminates the need to look the HID report struct up every time it is needed.

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg4ff.c