staging: comedi: amplc_pci224: Change return type of pci224_find_pci()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 15:02:04 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:50:06 +0000 (20:50 -0700)
commit01ea83bce2d5219a71a044a084e3cecd6f0ad28e
tree5e0f95eb63fea6355c7e53ad781e77ff11fadf2e
parenteedc1b7be2ea7c8350f359ff9afa568cb89a70d7
staging: comedi: amplc_pci224: Change return type of pci224_find_pci()

pci224_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_pci224.c