commit | 273ba547da12406d609795bc8976cb2464b15d82 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Tue May 29 14:49:33 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:46:57 2012 -0700 |
tree | 05cba310f151475089cca7db0604ec9950423d2d | |
parent | 916d7028a91a6a0e4b76e7cfb97819f294cbd803 [diff] |
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>