mfd: Use mfd cell platform_data for wm8400 cells platform bits
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 11 May 2011 08:44:36 +0000 (10:44 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:14 +0000 (19:45 +0200)
commite45be4b5fcccb241101ad1aa1e15581ad2071393
tree983464dc0045ccfc4f3d45643cedde08669bfe8f
parentcb5811cf325f44eb0630b55a6416311e4ba661ee
mfd: Use mfd cell platform_data for wm8400 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.

Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8400-core.c
sound/soc/codecs/wm8400.c