diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-11 15:02:09 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-12 20:11:17 +0200 |
| commit | 7e2c70f8a104e777df799130b4a39c35f51ba19c (patch) | |
| tree | b73af91484a707146c58d9869a9c54110083422c /include/linux/timerqueue.h | |
| parent | 46577d36611953d1b99e86493289cfc824116ad2 (diff) | |
thermal: core: Introduce thermal_cooling_device_create()
Currently, thermal cooling devices have no parents, but it would be
generally useful to be able to create them under specific parents in
the device hierarchy (for instance, it may help to identify the device
representing the actual cooling hardware).
To make that possible, add thermal_cooling_device_create() that will
work like thermal_cooling_device_register() except that it will take
an additional parent argument (which may be NULL).
Redefine thermal_cooling_device_register() as a static inline wrapper
around thermal_cooling_device_create().
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Link: https://patch.msgid.link/8729484.T7Z3S40VBb@rafael.j.wysocki
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
