mtd: tmio_nand.c: use dev_get_platdata() and resource_size()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 14 Dec 2009 22:11:44 +0000 (17:11 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 31 Dec 2009 20:47:24 +0000 (20:47 +0000)
commit448791abfb64f097e6d6c5f71df68fd072def5b3
tree2edd5121acef672ac2c4068cbe7fb5c4dcbfd874
parentfc161c4e8ec9b12d42b10d510a9de8562ea3afac
mtd: tmio_nand.c: use dev_get_platdata() and resource_size()

Remove unnecessary casts and use dev_get_platdata() to retrieve the
struct mfd_cell data from the platform.

Use resource_size() for the ioremap()'s.

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