diff options
author | 2017-06-23 14:55:31 +0530 | |
---|---|---|
committer | 2017-07-17 17:32:05 +0200 | |
commit | 93a57081d20c1f93c209fec0f247f5bed936cc34 (patch) | |
tree | cb8458fc180662ed36d3588f61590e1bdcae5847 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arch_topology: Don't break lines unnecessarily (diff) | |
download | wireguard-linux-93a57081d20c1f93c209fec0f247f5bed936cc34.tar.xz wireguard-linux-93a57081d20c1f93c209fec0f247f5bed936cc34.zip |
arch_topology: Convert switch block to if block
We only need to take care of one case here (CPUFREQ_NOTIFY) and there is
no need to add an extra level of indentation to the case specific code
by using a switch block. Use an if block instead.
Also add some blank lines to make the code look better.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Juri Lelli <juri.lelli@arm.com>
Tested-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions