Vladimir Kondratyev 3a3dc5b5b4 wmt(4): Use internal function to calculate input report size
Usbhid's hid_report_size() calculates integral size of all reports of given
kind found in the HID descriptor rather then exact size of report with given
ID as its userland counterpart does. As all input data processed by the
driver is located within the same report, calculate required driver's buffer
size with userland version, imported in one of the previous commits.
This allows us to skip zeroing of buffer on processing of each report.

While here do some minor refactoring.

MFC after:	2 weeks
2018-08-04 12:31:19 +00:00
..
2018-06-01 19:42:59 +00:00
2018-07-27 13:11:05 +00:00
2018-07-07 15:55:52 +00:00
2017-09-14 15:34:45 +00:00
2018-05-24 17:06:00 +00:00
2018-07-07 15:55:58 +00:00
2018-07-17 23:56:13 +00:00
2018-07-17 23:23:45 +00:00
2018-06-15 02:28:36 +00:00
2018-05-22 15:49:23 +00:00
2018-04-13 20:30:49 +00:00
2018-05-28 02:34:38 +00:00
2018-07-22 17:40:13 +00:00
2018-07-08 23:12:27 +00:00
2017-12-30 19:27:22 +00:00
2018-07-29 20:47:00 +00:00
2018-03-14 18:27:06 +00:00
2018-03-28 07:59:16 +00:00
2018-08-01 08:24:34 +00:00
2017-11-30 20:33:45 +00:00
2018-06-07 13:57:34 +00:00
2018-05-25 19:00:28 +00:00
2017-11-30 20:33:45 +00:00
2018-04-08 22:59:34 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2018-04-13 20:30:49 +00:00
2018-07-27 10:40:48 +00:00
2018-07-13 22:49:48 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00