hwmon: Clean up detect functions