mbox series

[0/3] cpufreq: CPPC: Some optimizations for cppc_cpufreq.c.

Message ID 20250526113057.3086513-1-zhenglifeng1@huawei.com
Headers show
Series cpufreq: CPPC: Some optimizations for cppc_cpufreq.c. | expand

Message

Lifeng Zheng May 26, 2025, 11:30 a.m. UTC
This patch series makes some minor optimizations for cppc_cpufreq.c to
makes codes cleaner.

Lifeng Zheng (3):
  cpufreq: CPPC: Remove cpu_data_list
  cpufreq: CPPC: Return void in populate_efficiency_class()
  cpufreq: CPPC: Remove forward declaration of
    cppc_cpufreq_register_em()

 drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
 include/acpi/cppc_acpi.h       |  1 -
 2 files changed, 15 insertions(+), 45 deletions(-)

Comments

Pierre Gondois May 28, 2025, 1:26 p.m. UTC | #1
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>

On 5/26/25 13:30, Lifeng Zheng wrote:
> This patch series makes some minor optimizations for cppc_cpufreq.c to
> makes codes cleaner.
>
> Lifeng Zheng (3):
>    cpufreq: CPPC: Remove cpu_data_list
>    cpufreq: CPPC: Return void in populate_efficiency_class()
>    cpufreq: CPPC: Remove forward declaration of
>      cppc_cpufreq_register_em()
>
>   drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
>   include/acpi/cppc_acpi.h       |  1 -
>   2 files changed, 15 insertions(+), 45 deletions(-)
>
Lifeng Zheng May 29, 2025, 6:28 a.m. UTC | #2
On 2025/5/28 21:26, Pierre Gondois wrote:

> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>

Thanks!

> 
> On 5/26/25 13:30, Lifeng Zheng wrote:
>> This patch series makes some minor optimizations for cppc_cpufreq.c to
>> makes codes cleaner.
>>
>> Lifeng Zheng (3):
>>    cpufreq: CPPC: Remove cpu_data_list
>>    cpufreq: CPPC: Return void in populate_efficiency_class()
>>    cpufreq: CPPC: Remove forward declaration of
>>      cppc_cpufreq_register_em()
>>
>>   drivers/cpufreq/cppc_cpufreq.c | 59 +++++++++-------------------------
>>   include/acpi/cppc_acpi.h       |  1 -
>>   2 files changed, 15 insertions(+), 45 deletions(-)
>>