hwmon/f71882fg: Make creation of in sysfs attributes more generic

This is a preparation patch for adding support for more different models,
some of which have a sparse list of used voltage pins.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:
Hans de Goede 2011-03-09 20:57:10 +01:00 • committed by Guenter Roeck
commit 0bae640088