[PATCH v4 0/2] mmc: sdhci: Use mmc core regulator infrastucture

From: Markus Mayer
Date: Fri Jun 13 2014 - 13:14:21 EST


This series switches the common SDHCI code over to use mmc_host's
regulator pointers rather than keeping its own set.

In addition, we can now re-use the newly introduced local "mmc" pointer
in several function calls in lieu of using host->mmc.

The first patch in the series has been posted before
(https://lkml.org/lkml/2014/4/24/947). The follow-on patch has not.

This series is based on mainline (commit 16b9057804).

Changes from v3:
- Squashed patches 2 & 3 together. The series now has only 2 parts,
but is otherwise unchanged.

Changes from v2:
- Replaced a few more host->mmc references with mmc in
sdhci_add_host(). This change affects PATCH 3/3 only. The other two
patches are unchanged from v2.
- Rebased the series on mainline (rather than mmc-next). Doing so did
not affect the patches themselves. They applied cleanly as-is.

Changes from v1:
- Resolved merge conflicts resulting from RMK's MMC series. The most
significant conflict was the move of regulator code from
sdhci_do_set_ios() to sdhci_set_power().
- Added follow-on patches 2 & 3 of the series.
- Updated Tim Kryger's e-mail address.

Markus Mayer (1):
mmc: sdhci: Replace host->mmc with mmc where possible

Tim Kryger (1):
mmc: sdhci: Use mmc core regulator infrastucture

drivers/mmc/host/sdhci.c | 123 ++++++++++++++++++----------------------------
include/linux/mmc/sdhci.h | 3 --
2 files changed, 49 insertions(+), 77 deletions(-)

--
1.9.1

--
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/