]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: move ocr-bit to voltage translation into separate function
authorHeiko Stuebner <heiko@sntech.de>
Mon, 12 Oct 2015 16:00:54 +0000 (18:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:10 +0000 (16:00 +0100)
commit67818834382431cdb4e2058097ad642dac9dbe8b
tree5e3986460913c23d5185bbeceabb38275fe1cc1a
parent36163cd6e26836fdba4a97d5198cd015eb26f6cf
mmc: core: move ocr-bit to voltage translation into separate function

We will shortly need the calculation of an ocr-bit to the actual
voltage in a second place too, so move it from mmc_regulator_set_ocr
to a common function mmc_ocrbitnum_to_vdd to make that possible.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c