summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@oss.qualcomm.com>2026-05-08 21:05:11 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-13 22:03:38 +0300
commit499274d078d0c9299af671bcaaecbd9c90571539 (patch)
tree763598eb9a9794a887018429443072ca15d9fdde /include/linux
parent34f54003643e907e2e5d0433e81a6fbfc419fd88 (diff)
downloadlinux-499274d078d0c9299af671bcaaecbd9c90571539.tar.xz
thermal/core: Use the thermal class pointer as init guard
The thermal class is now dynamically allocated and stored as a pointer. Use the thermal_class pointer itself to check whether the thermal class has been created instead of keeping a separate thermal_class_unavailable flag. Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/20260508180511.1306659-5-daniel.lezcano@oss.qualcomm.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions