From: H Hartley Sweeten Date: Mon, 14 Dec 2009 21:48:34 +0000 (-0500) Subject: mtd: orion_nand.c: add error handling and use resource_size() X-Git-Tag: v2.6.35-rc1~465^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e99030609e27abff7e1a868cb56384c678b09984;p=pandora-kernel.git mtd: orion_nand.c: add error handling and use resource_size() Use platform_get_resource() to fetch the memory resource and add error handling for when it is missing. Use resource_size() for the ioremap(). Signed-off-by: H Hartley Sweeten Signed-off-by: David Woodhouse --- Reading git-diff-tree failed