staging: comedi: amplc_pc236: Change return type of pc236_find_pci()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 May 2012 13:49:33 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:46:57 +0000 (20:46 -0700)
commit273ba547da12406d609795bc8976cb2464b15d82
tree05cba310f151475089cca7db0604ec9950423d2d
parent916d7028a91a6a0e4b76e7cfb97819f294cbd803
staging: comedi: amplc_pc236: Change return type of pc236_find_pci()

pc236_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_pc236.c