diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-21 23:44:46 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-21 23:52:22 -0800 |
commit | ad56814fccfba3fe3613fa4d9accff3816786f3c (patch) | |
tree | c2fcd8fedcf54cda44d2f54038778f3fde3ebacf /drivers/input/mouse/alps.c | |
parent | a0d86ecd23a9e8ae36e274191e55068cc4d10129 (diff) | |
download | talos-op-linux-ad56814fccfba3fe3613fa4d9accff3816786f3c.tar.gz talos-op-linux-ad56814fccfba3fe3613fa4d9accff3816786f3c.zip |
Input: mouse - use local variables consistently
If a function declares a variable to access a structure element,
use it consistently.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/alps.c')
-rw-r--r-- | drivers/input/mouse/alps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 328edc8c8786..72b28ebfe360 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -1855,7 +1855,7 @@ static int alps_absolute_mode_v1_v2(struct psmouse *psmouse) * Switch mouse to poll (remote) mode so motion data will not * get in our way */ - return ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETPOLL); + return ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETPOLL); } static int alps_monitor_mode_send_word(struct psmouse *psmouse, u16 word) |