summaryrefslogtreecommitdiff
path: root/drivers/mfd/rdc321x-southbridge.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-18 06:07:32 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 12:41:57 +0300
commit46673ed2cdca85afa7c69d126e3778bba2dbd2d5 (patch)
treeefa841bea603b55905766cb2bcbd9a2e7232d940 /drivers/mfd/rdc321x-southbridge.c
parent6d90bdde4b7b8e0f403bc3641fcddea733bddf77 (diff)
downloadlinux-46673ed2cdca85afa7c69d126e3778bba2dbd2d5.tar.xz
rdc321x-southbridge: Use mfd_data instead of driver_data
Use mfd_data for passing information from mfd drivers to soc 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(). Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/rdc321x-southbridge.c')
-rw-r--r--drivers/mfd/rdc321x-southbridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/rdc321x-southbridge.c b/drivers/mfd/rdc321x-southbridge.c
index 50922975bda3..193c940225b5 100644
--- a/drivers/mfd/rdc321x-southbridge.c
+++ b/drivers/mfd/rdc321x-southbridge.c
@@ -61,12 +61,12 @@ static struct mfd_cell rdc321x_sb_cells[] = {
.name = "rdc321x-wdt",
.resources = rdc321x_wdt_resource,
.num_resources = ARRAY_SIZE(rdc321x_wdt_resource),
- .driver_data = &rdc321x_wdt_pdata,
+ .mfd_data = &rdc321x_wdt_pdata,
}, {
.name = "rdc321x-gpio",
.resources = rdc321x_gpio_resources,
.num_resources = ARRAY_SIZE(rdc321x_gpio_resources),
- .driver_data = &rdc321x_gpio_pdata,
+ .mfd_data = &rdc321x_gpio_pdata,
},
};