regulator: Use device platform_data to retrieve db8500 platform bits
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 08:06:31 +0000 (10:06 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:15 +0000 (19:45 +0200)
commit17cf8b429341869c154268f9d92d32a74295a29a
tree8069a3a38eb640eef326e4e4cda468dc23f3bf90
parente45be4b5fcccb241101ad1aa1e15581ad2071393
regulator: Use device platform_data to retrieve db8500 platform bits

With the addition of a platform device 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.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/regulator/db8500-prcmu.c