HID: rmi: Use hid_report_len to compute the size of reports
authorAndrew Duggan <aduggan@synaptics.com>
Thu, 8 Jan 2015 22:51:36 +0000 (14:51 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Jan 2015 09:11:59 +0000 (10:11 +0100)
commitb8aed6ea39a70a9b9b8de9df8655ac36719b4d3b
treebf744a038df64b9704638e2b901b53b8f76c747a
parent2f43de605e700f5aa5cad15e19f8ffe54b1d4c86
HID: rmi: Use hid_report_len to compute the size of reports

Now that hid_report_len is in hid.h we can use this function instead of
duplicating the code which computes it.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c