diff mbox series

[RFC,06/10] mmc: core: remove fallback for mmc_hw_reset()

Message ID 20220321115059.21803-7-wsa+renesas@sang-engineering.com (mailing list archive)
State Superseded
Delegated to: Geert Uytterhoeven
Headers show
Series mmc: improve API to make clear {h|s}w_reset is for cards | expand

Commit Message

Wolfram Sang March 21, 2022, 11:50 a.m. UTC
All users have been converted, the fallback can go now.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/mmc/core/core.c  | 6 ------
 include/linux/mmc/core.h | 1 -
 2 files changed, 7 deletions(-)
diff mbox series

Patch

diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 71e75196bc53..7a2985dde0e6 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -2018,12 +2018,6 @@  int mmc_card_hw_reset(struct mmc_card *card)
 }
 EXPORT_SYMBOL(mmc_card_hw_reset);
 
-int mmc_hw_reset(struct mmc_host *host)
-{
-	return mmc_card_hw_reset(host->card);
-}
-EXPORT_SYMBOL(mmc_hw_reset);
-
 int mmc_sw_reset(struct mmc_host *host)
 {
 	int ret;
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h
index 25a7cf69d919..7759502c8c67 100644
--- a/include/linux/mmc/core.h
+++ b/include/linux/mmc/core.h
@@ -175,7 +175,6 @@  void mmc_wait_for_req(struct mmc_host *host, struct mmc_request *mrq);
 int mmc_wait_for_cmd(struct mmc_host *host, struct mmc_command *cmd,
 		int retries);
 
-int mmc_hw_reset(struct mmc_host *host);
 int mmc_card_hw_reset(struct mmc_card *card);
 int mmc_sw_reset(struct mmc_host *host);
 void mmc_set_data_timeout(struct mmc_data *data, const struct mmc_card *card);