]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16f8889ed88663e6fd3271d009ebcdbdbc602af9
treeb225d3ae1c66c523bfb6ef1a23ea4a6424069349
parentd09fc6d65c761debbb97d6f1918c654aa890bfef
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