Input: factor out and export input_device_id matching code
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 9 Oct 2017 18:09:33 +0000 (11:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 19 Oct 2017 23:53:34 +0000 (16:53 -0700)
commit55dfce873dca46df00304c44a568d7933bffff89
tree1faf3be2f3a5b6390b1e9daa2143753d7e6d8fae
parent9b5db7aab4d6b66f84f5e147c87eff4fe8b48651
Input: factor out and export input_device_id matching code

Factor out and export input_match_device_id() so that modules may use it.
It will be needed by joydev to blacklist accelerometers in composite
devices.

Tested-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c
include/linux/input.h