diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-12-14 17:11:44 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-12-31 20:47:24 +0000 |
commit | 448791abfb64f097e6d6c5f71df68fd072def5b3 (patch) | |
tree | 2edd5121acef672ac2c4068cbe7fb5c4dcbfd874 /drivers/mtd/nand/sh_flctl.c | |
parent | fc161c4e8ec9b12d42b10d510a9de8562ea3afac (diff) | |
download | op-kernel-dev-448791abfb64f097e6d6c5f71df68fd072def5b3.zip op-kernel-dev-448791abfb64f097e6d6c5f71df68fd072def5b3.tar.gz |
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>
Diffstat (limited to 'drivers/mtd/nand/sh_flctl.c')
0 files changed, 0 insertions, 0 deletions