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