Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324971
b: refs/heads/master
c: 39780a1
h: refs/heads/master
i:
  324969: ddac30c
  324967: 5a0bc6d
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 8, 2012
1 parent b394f3f commit 0616504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: fe531d12acff926628df11df6d476474383a9f3f
refs/heads/master: 39780a1caf92342c4deb0d14d39703cf5c70cdac
8 changes: 1 addition & 7 deletions trunk/drivers/staging/comedi/drivers/me4000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1776,15 +1776,9 @@ static int me4000_attach_pci(struct comedi_device *dev,
return result;

info->plx_regbase = pci_resource_start(pcidev, 1);
if (!info->plx_regbase)
return -ENODEV;

dev->iobase = pci_resource_start(pcidev, 2);
if (!dev->iobase)
return -ENODEV;

info->timer_regbase = pci_resource_start(pcidev, 3);
if (!info->timer_regbase)
if (!info->plx_regbase || !dev->iobase || !info->timer_regbase)
return -ENODEV;

dev->irq = pcidev->irq;
Expand Down

0 comments on commit 0616504

Please sign in to comment.