staging: comedi: amplc_pc263: Change return type of pc263_find_pci()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 May 2012 18:04:43 +0000 (19:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:48:08 +0000 (20:48 -0700)
commit7ac75ba4f364fb655c89b4f9ccf1cfbdf9dfd370
tree9cfe92dacece10135864593bfe7ca22f07092688
parent6ac682520ec3318f0a43582f642c0444ad5e3314
staging: comedi: amplc_pc263: Change return type of pc263_find_pci()

pc263_find_pci() finds a supported PCI device, returning 0 on success
or -EIO on failure and returning the pointer to the PCI device via a
struct pci_dev ** parameter.  Change it to return the struct pci_dev *
on success or NULL on failure.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pc263.c