From: Wei Yongjun Date: Thu, 16 Apr 2015 12:18:02 +0000 (+0800) Subject: ASoC: samsung: s3c24xx-i2s: Fix return value check in s3c24xx_iis_dev_probe() X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2~48^2^2^3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c479163a1b6ab424786fbcd9225b4e3c1c58eb0b;p=pandora-kernel.git ASoC: samsung: s3c24xx-i2s: Fix return value check in s3c24xx_iis_dev_probe() In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun Reviewed-by: Krzysztof Kozlowski Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed