Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68754
b: refs/heads/master
c: 5460a9d
h: refs/heads/master
v: v3
  • Loading branch information
Mark M. Hoffman committed Oct 14, 2007
1 parent 0c5169a commit 915d5cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: d58df9cd788e6fb4962e1c8d5ba7b8b95d639a44
refs/heads/master: 5460a9d0ffc860a370631e096a8a6f3682f3fc94
9 changes: 4 additions & 5 deletions trunk/drivers/hwmon/sis5595.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,11 +739,10 @@ static int __devinit sis5595_pci_probe(struct pci_dev *dev,
int *i;

for (i = blacklist; *i != 0; i++) {
struct pci_dev *dev;
dev = pci_get_device(PCI_VENDOR_ID_SI, *i, NULL);
if (dev) {
dev_err(&dev->dev, "Looked for SIS5595 but found unsupported device %.4x\n", *i);
pci_dev_put(dev);
struct pci_dev *d;
if ((d = pci_get_device(PCI_VENDOR_ID_SI, *i, NULL))) {
dev_err(&d->dev, "Looked for SIS5595 but found unsupported device %.4x\n", *i);
pci_dev_put(d);
return -ENODEV;
}
}
Expand Down

0 comments on commit 915d5cc

Please sign in to comment.