mfd: Use mfd cell platform_data for ab3100 cells platform bits
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 5 Apr 2011 22:41:43 +0000 (00:41 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:44:58 +0000 (19:44 +0200)
commita771e36e16e9fdacb2bb8d3b9be50be68f211b82
tree279c9c6df6d6f11f4a6fcb9af8acc74a6ee7f568
parent1f235a3785dbcfb324ff228048b859a3bd1e1a59
mfd: Use mfd cell platform_data for ab3100 cells 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>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab3100-core.c
drivers/regulator/ab3100.c