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>
This commit is contained in:

committed by
Samuel Ortiz

parent
4f95bf4048
commit
d9d01f4b26
@@ -693,7 +693,7 @@ static int __devinit tc6393xb_probe(struct platform_device *dev)
|
||||
goto err_setup;
|
||||
}
|
||||
|
||||
tc6393xb_cells[TC6393XB_CELL_NAND].driver_data = tcpd->nand_data;
|
||||
tc6393xb_cells[TC6393XB_CELL_NAND].mfd_data = tcpd->nand_data;
|
||||
tc6393xb_cells[TC6393XB_CELL_FB].driver_data = tcpd->fb_data;
|
||||
|
||||
ret = mfd_add_devices(&dev->dev, dev->id,
|
||||
|
Reference in New Issue
Block a user