Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61795
b: refs/heads/master
c: 2f6ae15
h: refs/heads/master
i:
  61793: 80fd8f9
  61791: bff5676
v: v3
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Jul 19, 2007
1 parent 0bc98e2 commit f7350cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f5f48dde709ae6951a2f1e044c21f5641684b0a
refs/heads/master: 2f6ae157905c393f7372607bc2954f7689838199
3 changes: 1 addition & 2 deletions trunk/drivers/hwmon/sis5595.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ static struct platform_device *pdev;
/* Length of ISA address segment */
#define SIS5595_EXTENT 8
/* PCI Config Registers */
#define SIS5595_REVISION_REG 0x08
#define SIS5595_BASE_REG 0x68
#define SIS5595_PIN_REG 0x7A
#define SIS5595_ENABLE_REG 0x7B
Expand Down Expand Up @@ -518,7 +517,7 @@ static int __devinit sis5595_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, data);

/* Check revision and pin registers to determine whether 4 or 5 voltages */
pci_read_config_byte(s_bridge, SIS5595_REVISION_REG, &(data->revision));
pci_read_config_byte(s_bridge, PCI_REVISION_ID, &data->revision);
/* 4 voltages, 1 temp */
data->maxins = 3;
if (data->revision >= REV2MIN) {
Expand Down

0 comments on commit f7350cf

Please sign in to comment.