cpufreq : CPPC: Break out if HiSilicon CPPC workaround is matched
authorHanjun Guo <guohanjun@huawei.com>
Tue, 24 Dec 2019 01:56:29 +0000 (09:56 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 29 Dec 2019 21:17:26 +0000 (22:17 +0100)
commitc740237937c039c06e9cda32b9a37dde8b0d1e63
tree30f339c137504682c79abd466504679a5817389f
parent46cf053efec6a3a5f343fead837777efe8252a46
cpufreq : CPPC: Break out if HiSilicon CPPC workaround is matched

Bail out if we match the OEM information, to save some possible
extra iteration.

Also update the code to fix minor coding style issue.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cppc_cpufreq.c