Input: xilinx_ps2 - use 'dev' instead of dereferencing it
authorGuenter Roeck <linux@roeck-us.net>
Wed, 18 Jan 2017 19:16:12 +0000 (11:16 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 18 Jan 2017 19:33:03 +0000 (11:33 -0800)
commit32237677fb6a15f08aadfe2bb4129b2de7e7caab
tree537efa892b8b0db15cfaaabd4d57be1716e97fe8
parent009af5fdb4fb65e73c5783bf2de64490fcd84910
Input: xilinx_ps2 - use 'dev' instead of dereferencing it

Use local variable 'dev' instead of dereferencing it several times.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/xilinx_ps2.c