[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20110412095119.GB14904@sortiz-mobl>
Date: Tue, 12 Apr 2011 11:51:20 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Grant Likely <grant.likely@...retlab.ca>,
Greg KH <gregkh@...e.de>
Subject: [GIT] [2.6.39] MFD fix
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
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists