arch_topology: Convert switch block to if block
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 23 Jun 2017 09:25:31 +0000 (14:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 15:32:05 +0000 (17:32 +0200)
commit93a57081d20c1f93c209fec0f247f5bed936cc34
treecb8458fc180662ed36d3588f61590e1bdcae5847
parent3eeba1a28e0df150adec37d67b567de653cf285c
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>
drivers/base/arch_topology.c