commit | 448791abfb64f097e6d6c5f71df68fd072def5b3 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Mon Dec 14 17:11:44 2009 -0500 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Thu Dec 31 20:47:24 2009 +0000 |
tree | 2edd5121acef672ac2c4068cbe7fb5c4dcbfd874 | |
parent | fc161c4e8ec9b12d42b10d510a9de8562ea3afac [diff] |
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>