Skip to content

Commit 7cb6f10

Browse files
Sumit Guptarafaeljw
authored andcommitted
ACPI: CPPC: Clean up cppc_perf_caps and cppc_perf_ctrls structs
- Remove redundant energy_perf field from 'struct cppc_perf_caps' as the same is available in 'struct cppc_perf_ctrls' which is used. - Move the 'auto_sel' field from 'struct cppc_perf_caps' to 'struct cppc_perf_ctrls' as it represents a control register. Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Reviewed-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Lifeng Zheng <zhenglifeng1@huawei.com> Link: https://patch.msgid.link/20260120145623.2959636-3-sumitg@nvidia.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 63804fe commit 7cb6f10

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/acpi/cppc_acpi.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,14 @@ struct cppc_perf_caps {
119119
u32 lowest_nonlinear_perf;
120120
u32 lowest_freq;
121121
u32 nominal_freq;
122-
u32 energy_perf;
123-
bool auto_sel;
124122
};
125123

126124
struct cppc_perf_ctrls {
127125
u32 max_perf;
128126
u32 min_perf;
129127
u32 desired_perf;
130128
u32 energy_perf;
129+
bool auto_sel;
131130
};
132131

133132
struct cppc_perf_fb_ctrs {

0 commit comments

Comments
 (0)