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 Viresh Kumar on 2022-10-25 18:58:11 +0200; fixed by Viresh Kumar on 2023-01-19 21:06:41 +0100 (lifetime: 86 days)