mmc: core: Clarify usage of mmc_set_signal_voltage()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 25 Jan 2017 09:25:01 +0000 (10:25 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:43 +0000 (13:20 +0100)
commit2ed573b603f78289dd1435c94597aa25a97e2b76
tree5c4847836397b3e9fbbfd0b69e609f2528bf8c8b
parenta44efa4796249c6d4341935e90e9105d6e1a5f15
mmc: core: Clarify usage of mmc_set_signal_voltage()

The mmc_set_signal_voltage() function is used for SD/SDIO when switching to
1.8V for UHS mode. To clarify this let's do the following changes.

- We are always providing MMC_SIGNAL_VOLTAGE_180 as the signal_voltage
  parameter to the function. Then, let's just remove the parameter as it
  serves no purpose.
- Rename the function to mmc_set_uhs_voltage().

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
drivers/mmc/core/core.h
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c