thermal: fix generic thermal I/F for hwmon