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 /tools/perf/scripts/python | |
| parent | Input: soc_button_array - use 'dev' instead of dereferencing it (diff) | |
| download | linux-8ace98df9ade746de229dd75c144a25ec9fe2613.tar.gz linux-8ace98df9ade746de229dd75c144a25ec9fe2613.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
