mmc: core: clean up duplicate macros
Clean up the duplicate macros: mmc_sd_card_uhs -> mmc_card_uhs mmc_sd_card_set_uhs -> mmc_card_set_uhs Signed-off-by: Jackey Shen <jackey.shen@amd.com> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
@@ -340,7 +340,7 @@ int mmc_add_card(struct mmc_card *card)
|
||||
break;
|
||||
}
|
||||
|
||||
if (mmc_sd_card_uhs(card) &&
|
||||
if (mmc_card_uhs(card) &&
|
||||
(card->sd_bus_speed < ARRAY_SIZE(uhs_speeds)))
|
||||
uhs_bus_speed_mode = uhs_speeds[card->sd_bus_speed];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user