From: Samuel Ortiz <sameo@linux.intel.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
Grant Likely <grant.likely@secretlab.ca>,
Greg KH <gregkh@suse.de>
Subject: [GIT] [2.6.39] MFD fix
Date: Tue, 12 Apr 2011 11:51:20 +0200 [thread overview]
Message-ID: <20110412095119.GB14904@sortiz-mobl> (raw)
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/
next reply other threads:[~2011-04-12 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 9:51 Samuel Ortiz [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-03-28 10:24 [GIT] [2.6.39] MFD fix Samuel Ortiz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110412095119.GB14904@sortiz-mobl \
--to=sameo@linux.intel.com \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox