in several hid drivers it is necessary to calculate the length
of an hid_report. This patch exports the existing static function
hid_report_len of hid-core.c as an inline function in hid.h
Signed-off-by: Mathieu Magnaudet
---
drivers/hid/hid-core.c| 6 --
drivers/hid/hid-input.c
for such devices.
Reviewed-by: Benjamin Tissoires
Signed-off-by: Mathieu Magnaudet
---
v1 -> v2
use hid_alloc_report_buf instead of kzalloc
drivers/hid/hid-ids.h| 3 +++
drivers/hid/hid-multitouch.c | 27 +++
2 files changed, 30 insertions(+)
d
for such devices.
Reviewed-by: Benjamin Tissoires
Signed-off-by: Mathieu Magnaudet
---
drivers/hid/hid-ids.h| 3 +++
drivers/hid/hid-multitouch.c | 27 +++
2 files changed, 30 insertions(+)
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index
3 matches
Mail list logo