commit | 181ad5edbf6d3c244263b770e9dd4eda645de5bf | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu May 31 14:08:35 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 20:49:20 2012 -0700 |
tree | 59f145143db0a8fb7e2e5c8366c48a3cd096ce2c | |
parent | 485455d01b26e849d30c2b20ce20a4d6fc50555e [diff] |
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>