diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-03-14 13:26:29 +0300 |
|---|---|---|
| committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-03-23 19:03:23 +0300 |
| commit | d811b511c18d9349a3880a4a7fff4c9c1169ac03 (patch) | |
| tree | abde9782b1a2119a428e86e47394af612eafc79f /scripts/stackusage | |
| parent | b0c4b9c64e7ca4eaf39996429e98d97725d7098e (diff) | |
| download | linux-d811b511c18d9349a3880a4a7fff4c9c1169ac03.tar.xz | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
