Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ed7891f authored by Mattias Wallin's avatar Mattias Wallin Committed by Samuel Ortiz
Browse files

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: default avatarMattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 29a6ccca
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2005,7 +2005,8 @@ static struct regulator_init_data db8500_regulators[DB8500_NUM_REGULATORS] = {
static struct mfd_cell db8500_prcmu_devs[] = {
static struct mfd_cell db8500_prcmu_devs[] = {
	{
	{
		.name = "db8500-prcmu-regulators",
		.name = "db8500-prcmu-regulators",
		.mfd_data = &db8500_regulators,
		.platform_data = &db8500_regulators,
		.pdata_size = sizeof(db8500_regulators),
	},
	},
	{
	{
		.name = "cpufreq-u8500",
		.name = "cpufreq-u8500",