projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c9cdc0
)
fix warning from check_driver
author
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 04:18:05 +0000
(
04:18
+0000)
committer
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 04:18:05 +0000
(
04:18
+0000)
comedi/drivers/ke_counter.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ke_counter.c
b/comedi/drivers/ke_counter.c
index 08825c366b2f6de8810539a3c9c3e41ab8d6e60f..e84cade4d14897829e61b12aff1fd8e9d5d45b62 100644
(file)
--- a/
comedi/drivers/ke_counter.c
+++ b/
comedi/drivers/ke_counter.c
@@
-189,9
+189,7
@@
found:
/* read register base address [PCI_BASE_ADDRESS #0] */
io_base = pci_resource_start(pci_device, 0);
- if (request_region(io_base & PCI_BASE_ADDRESS_IO_MASK, 0x08, CNT_DRIVER_NAME) == NULL) {
- return -EIO;
- }
+ request_region(io_base & PCI_BASE_ADDRESS_IO_MASK, 0x08, CNT_DRIVER_NAME);
dev->iobase = io_base & PCI_BASE_ADDRESS_IO_MASK;
/* allocate the subdevice structures */