[PATCH 6.12 025/423] thermal: int340x: Add NULL check for adev