diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-28 08:33:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-06-14 16:16:43 +0100 |
commit | e94f62e79f7f63a68574ee5e76c19837ec12f3db (patch) | |
tree | a3bdd460676e2224f839bda6ce608c3f4e5e70e9 /drivers/iio/pressure | |
parent | 4f3bcd878f1d3c730fe00f619b7260c6125d49eb (diff) | |
download | op-kernel-dev-e94f62e79f7f63a68574ee5e76c19837ec12f3db.zip op-kernel-dev-e94f62e79f7f63a68574ee5e76c19837ec12f3db.tar.gz |
iio: adc: checking for NULL instead of IS_ERR() in probe
mcb_request_mem() returns an ERR_PTR(), it doesn't return NULL.
Fixes: 74aeac4da66f ('iio: adc: Add MEN 16z188 ADC driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Stable@vger.kernel.org
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions