diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-11 15:05:50 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-12 20:12:40 +0200 |
| commit | d1b25eb2d87738b5ad07070e0859017f6561760c (patch) | |
| tree | a23f4ae0f62ab348b3d1d36daa25f055c52f6be7 /include/linux/debugobjects.h | |
| parent | cdb9bf0faa50592d976eb956fcfc68382dae567b (diff) | |
ACPI: processor: thermal: Use more suitable cooling device data
Instead of passing an ACPI device object pointer as devdata to
thermal_cooling_device_create(), make acpi_processor_thermal_init()
pass a pointer to the struct acpi_processor representing the given CPU
to it, which allows the callback functions in processor_cooling_ops to
be simplified and the second argument of acpi_processor_thermal_init()
and acpi_processor_thermal_exit() to be dropped.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/6192780.MhkbZ0Pkbq@rafael.j.wysocki
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
