/* Free a report and all registered fields. The field->usage and field->value table's are allocated behind the field, so we need only to free(field) itself.  */
static void hid_free_report(struct hid_report *report)
/* Free a report and all registered fields. The field->usage and field->value table's are allocated behind the field, so we need only to free(field) itself.  */
static void hid_free_report(struct hid_report *report)
{
	unsigned n;
	for (n = 0; n < report->maxfield; n++)
		kfree(report->field[n]);
	kfree(report);
}