diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-17 22:07:29 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:56 -0400 |
commit | 4f95bf404870cccb08ff6d59e1986d43aee5efb6 (patch) | |
tree | b403dede853d5999b50167c83f8d27fbaaae0f2f /drivers/mfd/tc6387xb.c | |
parent | fcd67979d3808afbe357048d928470ef9b37cd4b (diff) |
mmc: Use mfd_data instead of driver_data for tmio-mmc
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-mmc 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/mfd/tc6387xb.c')
-rw-r--r-- | drivers/mfd/tc6387xb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index 6bf177536870..b006f7cee952 100644 --- a/drivers/mfd/tc6387xb.c +++ b/drivers/mfd/tc6387xb.c | |||
@@ -131,7 +131,7 @@ static struct mfd_cell tc6387xb_cells[] = { | |||
131 | .name = "tmio-mmc", | 131 | .name = "tmio-mmc", |
132 | .enable = tc6387xb_mmc_enable, | 132 | .enable = tc6387xb_mmc_enable, |
133 | .disable = tc6387xb_mmc_disable, | 133 | .disable = tc6387xb_mmc_disable, |
134 | .driver_data = &tc6387xb_mmc_data, | 134 | .mfd_data = &tc6387xb_mmc_data, |
135 | .num_resources = ARRAY_SIZE(tc6387xb_mmc_resources), | 135 | .num_resources = ARRAY_SIZE(tc6387xb_mmc_resources), |
136 | .resources = tc6387xb_mmc_resources, | 136 | .resources = tc6387xb_mmc_resources, |
137 | }, | 137 | }, |