From: Wei Yongjun Date: Thu, 11 Sep 2014 23:12:14 +0000 (+0800) Subject: gpio: Fix return value check in xgene_gpio_probe() X-Git-Tag: fixes-against-v3.18-rc2~140^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f51b91335a63b2672a0f21fd13a684c8e35c4e8;p=pandora-kernel.git gpio: Fix return value check in xgene_gpio_probe() In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Reviewed-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed