summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tc6393xb.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-18 04:07:29 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 10:41:56 +0100
commit4f95bf404870cccb08ff6d59e1986d43aee5efb6 (patch)
treeb403dede853d5999b50167c83f8d27fbaaae0f2f /drivers/mfd/tc6393xb.c
parentw1: Use mfd_data instead of driver_data for dsw1wm.c (diff)
downloadlinux-4f95bf404870cccb08ff6d59e1986d43aee5efb6.tar.xz
linux-4f95bf404870cccb08ff6d59e1986d43aee5efb6.zip
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/tc6393xb.c')
-rw-r--r--drivers/mfd/tc6393xb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
index a71ff5c88b59..7f7b9fadea5d 100644
--- a/drivers/mfd/tc6393xb.c
+++ b/drivers/mfd/tc6393xb.c
@@ -393,7 +393,7 @@ static struct mfd_cell __devinitdata tc6393xb_cells[] = {
.name = "tmio-mmc",
.enable = tc6393xb_mmc_enable,
.resume = tc6393xb_mmc_resume,
- .driver_data = &tc6393xb_mmc_data,
+ .mfd_data = &tc6393xb_mmc_data,
.num_resources = ARRAY_SIZE(tc6393xb_mmc_resources),
.resources = tc6393xb_mmc_resources,
},