[PATCH 5.10 23/80] hwmon: Handle failure to register sensor with thermal zone correctly