commit | e99030609e27abff7e1a868cb56384c678b09984 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Mon Dec 14 16:48:34 2009 -0500 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Thu Dec 31 20:47:20 2009 +0000 |
tree | aa55876a384d6994c86eb936252f68f70dcb9e4a | |
parent | 4442241ef6ed4d53c13d1c4b18fd57918bb4c850 [diff] |
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 <hsweeten@visionengravers.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>