From: Bartlomiej Zolnierkiewicz Date: Fri, 14 Mar 2014 17:22:09 +0000 (+0100) Subject: ata: ahci_platform: fix devm_ioremap_resource() return value checking X-Git-Tag: v3.15-rc1~161^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5434b203156ef245b7847128c446c5b54f12a6d4;p=pandora-kernel.git ata: ahci_platform: 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 ahci_platform_get_resources() accordingly. Also while at it remove a needless line break. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Tejun Heo --- Reading git-diff-tree failed