Input: hid - #if 0 the no longer used hid_find_field_by_usage()
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
committed by
Dmitry Torokhov
parent
8b8277a174
commit
f287caee80
@@ -1106,7 +1106,7 @@ int hid_set_field(struct hid_field *field, unsigned offset, __s32 value)
|
||||
/*
|
||||
* Find a report field with a specified HID usage.
|
||||
*/
|
||||
|
||||
#if 0
|
||||
struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_usage, int type)
|
||||
{
|
||||
struct hid_report *report;
|
||||
@@ -1118,6 +1118,7 @@ struct hid_field *hid_find_field_by_usage(struct hid_device *hid, __u32 wanted_u
|
||||
return report->field[i];
|
||||
return NULL;
|
||||
}
|
||||
#endif /* 0 */
|
||||
|
||||
static int hid_submit_out(struct hid_device *hid)
|
||||
{
|
||||
|
Reference in New Issue
Block a user