[PATCH 6.6 001/151] thermal: core: Make thermal_zone_device_unregister() return after freeing the zone