Input: add match() method to input hanlders
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Feb 2010 05:08:26 +0000 (21:08 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Feb 2010 08:25:19 +0000 (00:25 -0800)
commit0b7024ac4df5821347141c18e680b7166bc1cb20
tree7a61e55e66bdd39351b3ec39ecef367588b47170
parent1e87a43080a259a0e9739377708ece163b08de8d
Input: add match() method to input hanlders

Get rid of blacklist in input handler structure and instead allow
handlers to define their own match() method to perform fine-grained
filtering of supported devices.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/char/keyboard.c
drivers/input/input.c
drivers/input/joydev.c
include/linux/input.h