Input: psmouse - add psmouse_matches_pnp_id helper function
authorHans de Goede <hdegoede@redhat.com>
Thu, 11 Sep 2014 17:14:09 +0000 (10:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 13 Sep 2014 00:30:44 +0000 (17:30 -0700)
commit2c75ada6250990ea859b0b5498cb0b7c2823a9d7
treee39a322d8400c85fbebfb658955a240aff4a4049
parent76460a7becadbda5589057ee8394cbc98717c324
Input: psmouse - add psmouse_matches_pnp_id helper function

The matches_pnp_id function from the synaptics driver is useful for other
drivers too. Make it a generic psmouse helper function.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h
drivers/input/mouse/synaptics.c