]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - store pointer to current protocol
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Mar 2017 23:29:00 +0000 (15:29 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 25 Mar 2017 17:37:27 +0000 (10:37 -0700)
commit0fb58baab2587155e4ff5673c87c9cef86e62006
treee9bfc17e041ec25aeca6deee696b5a27da2dd21e
parent21d605a1ea57580111c917e7273582f67d6865a0
Input: psmouse - store pointer to current protocol

Instead of storing only protocol "type" in pmsouse structure, store pointer
to the protocol structure, so that we have access to more data without
having to copy it over to psmouse structure.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h