]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79a4fb4060f0e1688ec626d1c788e51318b3a849
tree30f339c137504682c79abd466504679a5817389f
parent75e273687aee789166c077bbe05d67c0252abf3f
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