• Ulf Hansson's avatar
    mmc: core: Move mmc_of_parse_voltage() to host.c · 9d2d2430
    Ulf Hansson authored
    MMC OF parsing functions, which parses various host DT properties, should
    stay close to each other. Therefore, let's move mmc_of_parse_voltage()
    close to mmc_of_parse() into host.c.
    
    Additionally, there is no reason to build the code only when CONFIG_OF is
    set, as there should be stub functions for the OF helpers that is being
    used, so let's drop this condition as well.
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    9d2d2430
core.c 62.2 KB