Revert "thermal: core: call put_device() only after device_register() fails"
This reverts commit a7d736cc which is commit 6c54b7bc upstream. It is part of a patch series applied to 5.15.91 that breaks the Android kernel ABI. If it is really needed, it can be brought back in an abi-safe way in the future. Bug: 161946584 Change-Id: I4dce0d2666555d37706bb414cf65e015dfe1c5db Signed-off-by:Greg Kroah-Hartman <gregkh@google.com>
Loading