diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-19 13:57:34 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:25 -0800 |
commit | 5604ec6fb65ba388b698d8490f797267470b8b23 (patch) | |
tree | 3780c2282f62b600cf80117103fa9217a38b12ac /drivers/staging | |
parent | d72187b7cd4bac8eb9f87cabbb8d537145dc4bad (diff) |
Staging: comedi: comedi_pci.h: remove unneeded wrapper
just call pci_disable_device() directly in comedi_pci_enable()
as no wrapper is needed now that we are in the kernel tree.
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/comedi_pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_pci.h b/drivers/staging/comedi/drivers/comedi_pci.h index 0f32be8ff96..5475941dadc 100644 --- a/drivers/staging/comedi/drivers/comedi_pci.h +++ b/drivers/staging/comedi/drivers/comedi_pci.h @@ -63,7 +63,7 @@ static inline int comedi_pci_enable(struct pci_dev *pdev, const char *res_name) rc = pci_request_regions(pdev, res_name); if (rc < 0) - comedi_pci_disable_no_regions(pdev); + pci_disable_device(pdev); return rc; } |