aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2024-10-04 21:05:49 +0200
committerRafael J. Wysocki <[email protected]>2024-10-22 12:06:06 +0200
commit662f920f7e390db5d1a6792a2b0ffa59b6c962fc (patch)
treef4afb5373db366c362c1a8b73626084c67c77371 /scripts/generate_rust_analyzer.py
parent85ee9449f76430846132b0248a99a6cfb524f992 (diff)
thermal: core: Initialize thermal zones before registering them
Since user space can start interacting with a new thermal zone as soon as device_register() called by thermal_zone_device_register_with_trips() returns, it is better to initialize the thermal zone before calling device_register() on it. Fixes: d0df264fbd3c ("thermal/core: Remove pointless thermal_zone_device_reset() function") 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