[0/7] mmc: core: Various minor cleanups

Message ID 20190213195443.18935-1-ulf.hansson@linaro.org
Headers show
Series
  • mmc: core: Various minor cleanups
Related show

Message

Ulf Hansson Feb. 13, 2019, 7:54 p.m.
Here are a couple of cleanups for the mmc core. Mostly trivial changes, which
should have no functional impact, unless I have screwed things up.

Ulf Hansson (7):
  mmc: core: Convert mmc_wait_for_app_cmd() to static
  mmc: core: Drop retries as in-parameter to mmc_wait_for_app_cmd()
  mmc: of_mmc_spi: Convert to mmc_of_parse_voltage()
  mmc: core: Move regulator helpers to separate file
  mmc: core: Convert mmc_regulator_get_ocrmask() to static
  mmc: core: Move mmc_of_parse_voltage() to host.c
  mmc: core: Convert mmc_align_data_size() into an SDIO specific
    function

 drivers/mmc/core/Makefile     |   2 +-
 drivers/mmc/core/core.c       | 317 ----------------------------------
 drivers/mmc/core/core.h       |   1 +
 drivers/mmc/core/host.c       |  44 +++++
 drivers/mmc/core/regulator.c  | 260 ++++++++++++++++++++++++++++
 drivers/mmc/core/sd_ops.c     |  33 +---
 drivers/mmc/core/sd_ops.h     |   3 -
 drivers/mmc/core/sdio_io.c    |  30 +++-
 drivers/mmc/core/sdio_ops.h   |   1 -
 drivers/mmc/host/of_mmc_spi.c |  22 +--
 include/linux/mmc/host.h      |   7 -
 11 files changed, 335 insertions(+), 385 deletions(-)
 create mode 100644 drivers/mmc/core/regulator.c

-- 
2.17.1