[PATCH v2 0/3] Use devm_* managed functions to ease slot-gpio users

Shawn Guo shawn.guo at linaro.org
Tue Dec 11 09:32:17 EST 2012


Changes since v1:
 * Add kernel doc for mmc_gpio_request/free_ro/cd() to document the
   use cases.
 * Add a patch to remove unncessary mmc_gpio_free_cd() call from
   existing slot-gpio users.

Shawn Guo (3):
  mmc: slot-gpio: use devm_* managed functions to ease users
  mmc: remove unncessary mmc_gpio_free_cd() call from slot-gpio users
  mmc: sdhci-esdhc-imx: use slot-gpio helpers for CD and WP

 drivers/mmc/core/slot-gpio.c       |   57 ++++++++++++++++++++++++++++++++----
 drivers/mmc/host/sdhci-esdhc-imx.c |   56 ++++++++++-------------------------
 drivers/mmc/host/sdhci-pxav3.c     |    5 ----
 drivers/mmc/host/sh_mmcif.c        |    6 ----
 drivers/mmc/host/tmio_mmc_pio.c    |    8 -----
 5 files changed, 67 insertions(+), 65 deletions(-)

-- 
1.7.9.5





More information about the linux-arm-kernel mailing list