diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-12-14 16:48:34 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-12-31 20:47:20 +0000 |
commit | e99030609e27abff7e1a868cb56384c678b09984 (patch) | |
tree | aa55876a384d6994c86eb936252f68f70dcb9e4a /drivers/mtd/nand/s3c2410.c | |
parent | 4442241ef6ed4d53c13d1c4b18fd57918bb4c850 (diff) | |
download | lwn-e99030609e27abff7e1a868cb56384c678b09984.tar.gz lwn-e99030609e27abff7e1a868cb56384c678b09984.zip |
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>
Diffstat (limited to 'drivers/mtd/nand/s3c2410.c')
0 files changed, 0 insertions, 0 deletions