Input: libps2 - introduce common interrupt handler
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 May 2023 23:14:29 +0000 (16:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 May 2023 18:40:32 +0000 (11:40 -0700)
commitc4c7eac8ee78d896635ce05d7a1c3f813fcbe24c
tree4ae7840b6467ff2a8584cf32938c1b65461cf345
parent7d674f9150c361e5b992551b46516d41eede3722
Input: libps2 - introduce common interrupt handler

Instead of exposing inner workings of libps2 to drivers such as atkbd and
psmouse, have them define pre-receive and receive callbacks, and provide a
common handler that can be used with underlying serio port.

While at this add kerneldoc to the module.

Link: https://lore.kernel.org/r/ZGK81cxqjr/KS1kA@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/atkbd.c
drivers/input/mouse/psmouse-base.c
drivers/input/serio/libps2.c
include/linux/libps2.h