Linux kernel bug fix: thermal: core: call put_device() only after device_register() fails
Subsystem: thermal (drivers/thermal/thermal_core.c)
Bug type: error-handling, severity: low
Files changed: drivers/thermal/thermal_core.c
Introduced by Yang Yingliang on 2022-11-25 19:51:41 +0100; fixed by Viresh Kumar on 2023-01-19 21:06:41 +0100 (lifetime: 55 days)