Skip to content

Commit 7266c88

Browse files
committed
ACPI: thermal: Eliminate struct acpi_thermal_state_flags
Notice that the enabled flag is only needed for active trip points, so drop struct acpi_thermal_state_flags, add a simple "bool valid" field to the definitions of all trip point structures instead of flags and add a "bool enabled" field to struct acpi_thermal_active. Adjust the code using the modified structures accordingly. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Michal Wilczynski <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]>
1 parent 607d265 commit 7266c88

File tree

1 file changed

+64
-68
lines changed

1 file changed

+64
-68
lines changed

0 commit comments

Comments
 (0)