aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-10-04 21:26:12 +0200
committerRafael J. Wysocki <[email protected]>2024-10-22 12:07:33 +0200
commit1dae3e70b473adc32f81ca1be926440f9b1de9dc (patch)
tree248870db6d3639ee0c130a3b981ddd1f744799bf /scripts/generate_rust_analyzer.py
parentd07700b474d38ea4b1130e37d28379fc202054fa (diff)
thermal: core: Mark thermal zones as exiting before unregistration
In analogy with a previous change in the thermal zone registration code path, to ensure that __thermal_zone_device_update() will return early for thermal zones that are going away, introduce a thermal zone state flag representing the "exit" state and set it while deleting the thermal zone from thermal_tz_list. Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Lukasz Luba <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions