mmc: core: Convert mmc_of_parse_voltage() to use device property API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Apr 2021 11:24:55 +0000 (14:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 23 Apr 2021 07:29:49 +0000 (09:29 +0200)
commit6dab809bb5b183015e19d558bfa95107de660be0
treef93693d6866d448af6b22289f29397dc8082414c
parent0f2c771e74b56e8c0101cac2b8671bcf6feccd96
mmc: core: Convert mmc_of_parse_voltage() to use device property API

mmc_of_parse() for a few years has been using device property API.
Convert mmc_of_parse_voltage() as well.

At the same time switch users to new API.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210419112459.25241-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/host.c
drivers/mmc/host/mmc_spi.c
drivers/mmc/host/of_mmc_spi.c
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-of-esdhc.c
include/linux/mmc/host.h