mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
thermal: core: Allocate thermal_class statically
Define thermal_class as a static structure to simplify thermal_init() and to simplify thermal class availability checks that will need to be carried out during the suspend and resume of thermal zones after subsequent changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/10831981.nUPlyArG6x@rafael.j.wysocki
This commit is contained in:
parent
26fd03effa
commit
c4c6a86463
1 changed files with 12 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue