mmc: core: Move regulator helpers to separate file
commitde13d5a44e61366ab5b75c111449ca284b6e3f5d
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Feb 2019 17:10:37 +0000 (13 18:10 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 14:20:58 +0000 (25 15:20 +0100)
tree363bc760602f0ea03bc2842a07ac97a9b9281d48
parent643108630e486bcb6c2127ae6d526eb54705161f
mmc: core: Move regulator helpers to separate file

The mmc regulator helper functions, are placed in the extensive core.c
file.  In a step towards trying to create a better structure of files,
avoiding too many lines of code per file, let's move these helpers to a new
file, regulator.c.

Moreover, this within this context it makes sense to also drop the export
of mmc_vddrange_to_ocrmask(), but instead let's make it internal to the mmc
core.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/Makefile
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/regulator.c [new file with mode: 0644]
include/linux/mmc/host.h