Input: psmouse - move sliced command implementation to libps2

In preparation to adding some debugging statements to PS/2 control
sequences let's move psmouse_sliced_command() into libps2 and rename it
to ps2_sliced_command().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Dmitry Torokhov
2018-01-02 12:03:02 -08:00
parent 3a92dd331f
commit 08be954b7a
7 changed files with 46 additions and 38 deletions

View File

@@ -117,7 +117,7 @@ static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command)
{
int error;
error = psmouse_sliced_command(psmouse, command);
error = ps2_sliced_command(&psmouse->ps2dev, command);
if (error)
return error;