From: Jingoo Han Date: Wed, 12 Feb 2014 02:29:42 +0000 (+0900) Subject: mtd: denali_dt: Use devm_ioremap_resource() X-Git-Tag: v3.15-rc1~65^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7995204e3c89820c4621af90b0e5f9ca0b375471;p=pandora-kernel.git mtd: denali_dt: Use devm_ioremap_resource() Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource_byname() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han Tested-by: Dinh Nguyen Signed-off-by: Brian Norris --- Reading git-diff-tree failed