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 /lib | |
parent | 4f3bcd878f1d3c730fe00f619b7260c6125d49eb (diff) |
iio: adc: checking for NULL instead of IS_ERR() in probeiio-fixes-for-3.16a
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 'lib')
0 files changed, 0 insertions, 0 deletions