diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-18 11:42:44 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-18 11:49:17 -0800 |
commit | 8ace98df9ade746de229dd75c144a25ec9fe2613 (patch) | |
tree | e912a937f956af3c9e545ea7ea6b23cfb15f24ab /drivers/input/misc/ab8500-ponkey.c | |
parent | aa45590ae8581e25b909f2fed591c3499cd8e352 (diff) |
Input: tps65218-pwrbutton - drop unnecessary call to platform_set_drvdata
There is no call to platform_get_drvdata() or dev_get_drvdata().
Drop the unnecessary call to platform_set_drvdata().
Also use existing 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>
Diffstat (limited to 'drivers/input/misc/ab8500-ponkey.c')
0 files changed, 0 insertions, 0 deletions