hwmon: (core) Add fan attribute support to new API