mmc: core: Remove redundant code in mmc_set_signal_voltage()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 25 Jan 2017 09:12:10 +0000 (10:12 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:42 +0000 (13:20 +0100)
commita44efa4796249c6d4341935e90e9105d6e1a5f15
tree5188ed8efba81620cdd4bff8ae8d15a1e4ab2f56
parent62a4cdead56e5715c61aadd41ab66f49bd3170f1
mmc: core: Remove redundant code in mmc_set_signal_voltage()

The mmc_set_signal_voltage() function is used for SD/SDIO when switching to
1.8V for UHS mode. Therefore let's remove the redundant code dealing with
MMC_SIGNAL_VOLTAGE_330.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Jan Glauber <jglauber@cavium.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
drivers/mmc/core/core.c