From: Dan Carpenter Date: Fri, 28 Mar 2014 08:33:00 +0000 (+0000) Subject: iio: adc: checking for NULL instead of IS_ERR() in probe X-Git-Tag: omap-for-v3.16/fixes-rc4~75^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94f62e79f7f63a68574ee5e76c19837ec12f3db;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron Cc: Stable@vger.kernel.org --- Reading git-diff-tree failed