commit | 01ea83bce2d5219a71a044a084e3cecd6f0ad28e | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu May 31 16:02:04 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:50:06 2012 -0700 |
tree | 5e0f95eb63fea6355c7e53ad781e77ff11fadf2e | |
parent | eedc1b7be2ea7c8350f359ff9afa568cb89a70d7 [diff] |
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>