hwmon: (adt7475) Rework voltage inputs handling
commitcffb9dd07fea8865093f6ccfb51d686487b89415
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:03 +0000 (9 20:36 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:03 +0000 (9 20:36 +0100)
tree3390cdab4076372dc7ca60207d97e37420923b1f
parentf99318b2540da75e663603e1a0faef30a3bb0c92
hwmon: (adt7475) Rework voltage inputs handling

Rework the handling of voltage inputs to make it possible and easy to
support more inputs. This will be needed for the upcoming ADT7490
support.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
drivers/hwmon/adt7475.c