mtd: davinci_nand.c: use resource_size()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 14 Dec 2009 21:13:13 +0000 (16:13 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 31 Dec 2009 19:52:46 +0000 (19:52 +0000)
commitd8bc55553c416c877267c1efd65b099164acbe3f
treeee6c65fd350ee38a37fa64df6578b695eb5293be
parent440d4f9fb62dad0d5ed1635d099cedaa7a25d96d
mtd: davinci_nand.c: use resource_size()

The ioremap'ed sizes are off by 1; use resource_size() for correct value.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/davinci_nand.c