Input: soc_button_array - use 'dev' instead of dereferencing it
authorGuenter Roeck <linux@roeck-us.net>
Wed, 18 Jan 2017 19:41:51 +0000 (11:41 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 18 Jan 2017 19:49:16 +0000 (11:49 -0800)
commitaa45590ae8581e25b909f2fed591c3499cd8e352
tree4006fc0ea811c929c8351232d38d3a70b6f45101
parent9e85aa695659407bb7a2b2d5de47be8c335049c0
Input: soc_button_array - 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/misc/soc_button_array.c