diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2011-05-27 05:49:43 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-05-28 02:35:36 -0400 |
commit | 1ed7891f8dcdba62041dfa265aea038afb49635c (patch) | |
tree | 962eca4ef3495c9eb76ef556e178a38bb90ab369 | |
parent | 29a6ccca3869bbe33879dae0cd7df2a1559eff54 (diff) |
mfd: Use mfd cell platform_data for db8500-prcmu cells platform bits
With the addition of a device platform mfd_cell pointer, MFD drivers
can go back to passing platform data back to their sub drivers.
This allows for an mfd_cell->mfd_data removal and thus keep the
sub drivers MFD agnostic. This is mostly needed for non MFD aware
sub drivers.
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/mfd/db8500-prcmu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index e63782107e2f..02a15d7cb3b0 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c | |||
@@ -2005,7 +2005,8 @@ static struct regulator_init_data db8500_regulators[DB8500_NUM_REGULATORS] = { | |||
2005 | static struct mfd_cell db8500_prcmu_devs[] = { | 2005 | static struct mfd_cell db8500_prcmu_devs[] = { |
2006 | { | 2006 | { |
2007 | .name = "db8500-prcmu-regulators", | 2007 | .name = "db8500-prcmu-regulators", |
2008 | .mfd_data = &db8500_regulators, | 2008 | .platform_data = &db8500_regulators, |
2009 | .pdata_size = sizeof(db8500_regulators), | ||
2009 | }, | 2010 | }, |
2010 | { | 2011 | { |
2011 | .name = "cpufreq-u8500", | 2012 | .name = "cpufreq-u8500", |