diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-17 19:07:30 -0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 10:41:57 +0100 |
commit | d9d01f4b2697b410625fce288bd1196927994093 (patch) | |
tree | dfa7446d0b5422e67584ade154ba756230a42840 /drivers/mtd | |
parent | 4f95bf404870cccb08ff6d59e1986d43aee5efb6 (diff) | |
download | kernel_samsung_espresso10-d9d01f4b2697b410625fce288bd1196927994093.zip kernel_samsung_espresso10-d9d01f4b2697b410625fce288bd1196927994093.tar.gz kernel_samsung_espresso10-d9d01f4b2697b410625fce288bd1196927994093.tar.bz2 |
mtd: Use mfd_data instead of driver_data for tmio_nand
Use mfd_data for passing information from mfd drivers to mfd
clients. The mfd_cell's driver_data field is being phased out.
Clients that were using driver_data now access .mfd_data
via mfd_get_data(). This changes tmio-nand only; mfd drivers with
other cells are not modified.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/tmio_nand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index 5bf63e3..2383b8f 100644 --- a/drivers/mtd/nand/tmio_nand.c +++ b/drivers/mtd/nand/tmio_nand.c @@ -372,8 +372,7 @@ static void tmio_hw_stop(struct platform_device *dev, struct tmio_nand *tmio) static int tmio_probe(struct platform_device *dev) { - struct mfd_cell *cell = mfd_get_cell(dev); - struct tmio_nand_data *data = cell->driver_data; + struct tmio_nand_data *data = mfd_get_data(dev); struct resource *fcr = platform_get_resource(dev, IORESOURCE_MEM, 0); struct resource *ccr = platform_get_resource(dev, |