From: Bartlomiej Zolnierkiewicz Date: Fri, 14 Mar 2014 17:33:13 +0000 (+0100) Subject: ata: pata_imx: fix devm_ioremap_resource() return value checking X-Git-Tag: v3.15-rc1~161^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e8e78bdd148f615da1e5d1edcf0b58b7c2b684;p=pandora-kernel.git ata: pata_imx: fix devm_ioremap_resource() return value checking devm_ioremap_resource() returns a pointer to the remapped memory or an ERR_PTR() encoded error code on failure. Fix the check inside pata_imx_probe() accordingly. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo --- Reading git-diff-tree failed