From: Wei Yongjun Date: Wed, 30 Jul 2014 00:04:12 +0000 (+0800) Subject: ASoC: sirf-audio-codec: Fix return value check in sirf_audio_codec_driver_probe() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~3^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8448051a5e7fda464486eaf5a4ef0c5b6d96673;p=pandora-kernel.git ASoC: sirf-audio-codec: Fix return value check in sirf_audio_codec_driver_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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed