cpufreq: CPPC: Do not return a value from populate_efficiency_class()
authorLifeng Zheng <zhenglifeng1@huawei.com>
Mon, 26 May 2025 11:30:56 +0000 (19:30 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Jun 2025 19:03:52 +0000 (21:03 +0200)
commit3d5978ea6cbc4df192d0ea1800ef5d55b28b965e
tree1fbf14a550532bfcdc2f2227fc8a8dfc74cd1702
parentd80a75624051b817043431f847470fb4680f2582
cpufreq: CPPC: Do not return a value from populate_efficiency_class()

The return value of populate_efficiency_class() is never needed and the
result of it doesn't affect the initialization of cppc_cpufreq.

It makes more sense to change it into a void function.

Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://patch.msgid.link/20250526113057.3086513-3-zhenglifeng1@huawei.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cppc_cpufreq.c