Skip to content
Commit dabb05c6 authored by Mathieu Magnaudet's avatar Mathieu Magnaudet Committed by Jiri Kosina
Browse files

HID: make hid_report_len as a static inline function in hid.h



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: default avatarMathieu Magnaudet <mathieu.magnaudet@enac.fr>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent da10bc25
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment