From: H Hartley Sweeten Date: Mon, 14 Dec 2009 22:11:44 +0000 (-0500) Subject: mtd: tmio_nand.c: use dev_get_platdata() and resource_size() X-Git-Tag: v2.6.35-rc1~465^2~147 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=448791abfb64f097e6d6c5f71df68fd072def5b3;p=pandora-kernel.git 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed