mfd: max77663: Update the driver to new mfd core
authorJin Park <jinyoungp@nvidia.com>
Mon, 24 Oct 2011 07:44:42 +0000 (16:44 +0900)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 21:18:15 +0000 (14:18 -0700)
commit72645b8cddf536aec095571bbef9dac69d6786c2
treeb6ad7de15e9adf8fa36c3298c8b56e1a9f69e228
parent4e769745dc8bdb6c0c4ff786a02fb00a82f1f43f
mfd: max77663: Update the driver to new mfd core

The mfd core was updated that removed size_t data_size and
renamed void *platform_data to void *mfd_data in struct mfd_cell.
The new mfd API, mfd_get_data(), was added for mfd device.
It return from struct platform_device to right value of mfd_data
and platform_data.

Change-Id: I21528879f2186d568f867f1c7e026f8d8e172b5a
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/59891
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4ee12a3ba5afec4255002e226f479e1c96a0f66c
drivers/regulator/max77663-regulator.c