staging: comedi: amplc_dio200: Change return type of dio200_find_pci()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 13:08:35 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:49:20 +0000 (20:49 -0700)
commit181ad5edbf6d3c244263b770e9dd4eda645de5bf
tree59f145143db0a8fb7e2e5c8366c48a3cd096ce2c
parent485455d01b26e849d30c2b20ce20a4d6fc50555e
staging: comedi: amplc_dio200: Change return type of dio200_find_pci()

dio200_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_dio200.c