[PATCH] hid: export hid_report_len as an inline function in hid.h

2014-11-27 Thread Mathieu Magnaudet
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

Re: [PATCH] hid: export hid_report_len as an inline function in hid.h

2014-12-01 Thread Benjamin Tissoires
On Thu, Nov 27, 2014 at 10:02 AM, Mathieu Magnaudet wrote: > 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 > ---

Re: [PATCH] hid: export hid_report_len as an inline function in hid.h

2014-12-01 Thread David Herrmann
Hi On Mon, Dec 1, 2014 at 7:22 PM, Benjamin Tissoires wrote: > On Thu, Nov 27, 2014 at 10:02 AM, Mathieu Magnaudet > wrote: >> 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

Re: [PATCH] hid: export hid_report_len as an inline function in hid.h

2014-12-01 Thread Jiri Kosina
On Thu, 27 Nov 2014, Mathieu Magnaudet wrote: > 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 Applied, thanks.