mmc: core: improve API to make clear mmc_hw_reset is for cards
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 8 Apr 2022 08:00:42 +0000 (10:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 8 Apr 2022 09:00:08 +0000 (11:00 +0200)
commitb71597edfaade119157ded98991bac7160be80c2
treeb225d3ae1c66c523bfb6ef1a23ea4a6424069349
parent03e59b1e2f56245163b14c69e0a830c24b1a3a47
mmc: core: improve API to make clear mmc_hw_reset is for cards

To make it unambiguous that mmc_hw_reset() is for cards and not for
controllers, we make the function argument mmc_card instead of mmc_host.
Also, all users are converted.

Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220408080045.6497-2-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/core.c
drivers/mmc/core/mmc_test.c
drivers/net/wireless/ath/ath10k/sdio.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/marvell/mwifiex/sdio.c
drivers/net/wireless/ti/wlcore/sdio.c
include/linux/mmc/core.h