aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2020-09-01 17:02:50 +0200
committerUlf Hansson <[email protected]>2020-09-07 09:16:32 +0200
commit452f553e272cf010ee1ac2d4896b265a6fbf4e29 (patch)
treef810045f02f3960a85ebd7b6ed8838f9092a7e95
parent0f93db6542fa94262b611ff942b9b3ad7ecbea10 (diff)
mmc: core: simplify an expression
We already have 'host' as a variable, so use it. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Yoshihiro Shimoda <[email protected]> Tested-by: Yoshihiro Shimoda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r--drivers/mmc/core/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 216bd1aed373..67e95eba0e82 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -1173,7 +1173,7 @@ static int mmc_select_hs400(struct mmc_card *card)
host->ops->hs400_downgrade(host);
/* Set host controller to HS timing */
- mmc_set_timing(card->host, MMC_TIMING_MMC_HS);
+ mmc_set_timing(host, MMC_TIMING_MMC_HS);
/* Reduce frequency to HS frequency */
max_dtr = card->ext_csd.hs_max_dtr;