]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83ed71f761c2b4a61a86b183e58093953565e01b
treea3d02c5faf62e8820ab095cff3dbc2f9c01e101d
parent0c67e6f206c47e5f170285fd73ad0c51225a0dc4
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