[PATCH 1/3] mmc: core: improve API to make clear mmc_hw_reset is for cards
kvalo at kernel.org
Fri Apr 8 01:14:31 PDT 2022
Wolfram Sang <wsa+renesas at sang-engineering.com> writes:
> 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 at linaro.org>
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
> Ulf prefers one cross-subsystem patch to have all users converted. So,
> we are looking for ACKs from the maintainers of the wireless drivers.
> Thank you!
> Changes since RFC:
> * don't rename the function but only change the argument type
> * remove fallback and convert all users in one go
> * remove comment as suggested by Ulf
> drivers/mmc/core/block.c | 2 +-
> drivers/mmc/core/core.c | 5 +++--
> drivers/mmc/core/mmc_test.c | 3 +--
> drivers/net/wireless/ath/ath10k/sdio.c | 2 +-
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
> drivers/net/wireless/marvell/mwifiex/sdio.c | 2 +-
> drivers/net/wireless/ti/wlcore/sdio.c | 2 +-
Acked-by: Kalle Valo <kvalo at kernel.org>
More information about the ath10k