mmc: core: Rename ->reset() bus ops to ->hw_reset()
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 5 Apr 2018 11:24:43 +0000 (13:24 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 8 May 2018 07:33:29 +0000 (09:33 +0200)
commit3a3db6030b64ceb4b4e41a6811168c5d90a9f7f8
treea3d02c5faf62e8820ab095cff3dbc2f9c01e101d
parentfb09f44e290b1775fbeadb4289dbcfc2f954b0d2
mmc: core: Rename ->reset() bus ops to ->hw_reset()

The bus ops ->reset() executes a full HW reset of the card, as the calling
function mmc_hw_reset() also indicates by its name. Let's convert to follow
the similar names, for both the bus ops callback and for the corresponding
bus ops functions, as to clarify the purpose of code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c