aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/regulator.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-02-25mmc: core: Convert mmc_regulator_get_ocrmask() to staticUlf Hansson1-2/+1
The only left user of mmc_regulator_get_ocrmask() is the mmc core itself. Therefore, let's drop the export and turn it into static. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2019-02-25mmc: core: Move regulator helpers to separate fileUlf Hansson1-0/+261
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>