[GIT] [2.6.39] MFD fix

From: Samuel Ortiz
Date: Tue Apr 12 2011 - 05:51:29 EST

Hi Linus,

This is an MFD fix for 2.6.39.
The fix is for allowing MFD sub devices drivers to reach both their MFD cell
pointers and their platform data ones. We were previously doint that through
mfd_get_data(), but that could be troublesome for generic IP drivers being
used as both MFD sub devices drivers and generic platform drivers.
We fixed that by adding an MFD cell pointer to the platform_device structure,
and that will also allow us to get rid of the mfd_get_data() routine. I'll
leave that for the next merge window as it touches more than 20 drivers.
Greg and Grant reviewed this fix, and Greg ACKed it.

Thanks in advance for pulling this:

The following changes since commit a6360dd37e1a144ed11e6548371bade559a1e4df:

Linux 2.6.39-rc3 (2011-04-11 17:21:51 -0700)

are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6.git for-linus

Samuel Ortiz (1):
mfd: Fetch cell pointer from platform_device->mfd_cell

drivers/base/platform.c | 1 +
drivers/mfd/mfd-core.c | 16 ++++++++++++++--
include/linux/mfd/core.h | 13 +++++++++++--
include/linux/platform_device.h | 5 +++++
4 files changed, 31 insertions(+), 4 deletions(-)
Intel Open Source Technology Centre
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/