From: Wei Yongjun Date: Tue, 7 Jan 2014 13:38:12 +0000 (+0800) Subject: mtd: plat_nand: remove redundant return value check of platform_get_resource() X-Git-Tag: v3.14-rc1~65^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=840f53c31224d687a7c4a24ea118fa3c737407b0;p=pandora-kernel.git mtd: plat_nand: remove redundant return value check of platform_get_resource() Remove unneeded error handling on the result of a call to platform_get_resource() when the value is passed to devm_ioremap_resource(). And move those two call together to make the connection between them more clear. Signed-off-by: Wei Yongjun Reviewed-by: Jingoo Han Signed-off-by: Brian Norris --- Reading git-diff-tree failed