aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2007-08-27 19:17:01 -0400
committerMark M. Hoffman <mhoffman@lightlink.com>2007-10-09 22:56:30 -0400
commit7b6d1f044d95395ca103bfb6869caa996fedbbd2 (patch)
tree5ab9d8a6665bda1f42aa60c0e9793ed81ab5fc0c /drivers/hwmon
parente7f62303b8a7f34ce6f97a1722b6907f0ddbd0a9 (diff)
hwmon: (sis5595) re-use s_bridge->revision
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/sis5595.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c
index 3de9721aa67f..79a5376a8d81 100644
--- a/drivers/hwmon/sis5595.c
+++ b/drivers/hwmon/sis5595.c
@@ -517,7 +517,7 @@ static int __devinit sis5595_probe(struct platform_device *pdev)
517 platform_set_drvdata(pdev, data); 517 platform_set_drvdata(pdev, data);
518 518
519 /* Check revision and pin registers to determine whether 4 or 5 voltages */ 519 /* Check revision and pin registers to determine whether 4 or 5 voltages */
520 pci_read_config_byte(s_bridge, PCI_REVISION_ID, &data->revision); 520 data->revision = s_bridge->revision;
521 /* 4 voltages, 1 temp */ 521 /* 4 voltages, 1 temp */
522 data->maxins = 3; 522 data->maxins = 3;
523 if (data->revision >= REV2MIN) { 523 if (data->revision >= REV2MIN) {