summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-03-14 11:26:29 +0100
committerDarren Hart (VMware) <dvhart@infradead.org>2017-03-23 09:03:23 -0700
commitd811b511c18d9349a3880a4a7fff4c9c1169ac03 (patch)
treeabde9782b1a2119a428e86e47394af612eafc79f /tools/perf/scripts/python/export-to-postgresql.py
parentb0c4b9c64e7ca4eaf39996429e98d97725d7098e (diff)
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions