diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-03-14 11:26:29 +0100 |
|---|---|---|
| committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-03-23 09:03:23 -0700 |
| commit | d811b511c18d9349a3880a4a7fff4c9c1169ac03 (patch) | |
| tree | abde9782b1a2119a428e86e47394af612eafc79f /tools/perf/scripts/python | |
| parent | platform/x86: fujitsu-laptop: simplify platform device attribute definitions (diff) | |
| download | linux-d811b511c18d9349a3880a4a7fff4c9c1169ac03.tar.gz linux-d811b511c18d9349a3880a4a7fff4c9c1169ac03.zip | |
platform/x86: fujitsu-laptop: add and remove platform device in separate functions
Platform device handling adds a lot of complexity to fujitsu_init(),
which hinders its readability. Extract code responsible for adding and
removing the platform device to separate functions. Adjust whitespace
to make checkpatch happy.
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Tested-by: Jonathan Woithe <jwoithe@just42.net>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
