commit | 7ac75ba4f364fb655c89b4f9ccf1cfbdf9dfd370 | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Wed May 30 19:04:43 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:48:08 2012 -0700 |
tree | 9cfe92dacece10135864593bfe7ca22f07092688 | |
parent | 6ac682520ec3318f0a43582f642c0444ad5e3314 [diff] |
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>