mmc: sdhci: replace mmc->parent with mmc_dev() for consistency
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Wed, 24 Mar 2021 07:50:13 +0000 (15:50 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 30 Mar 2021 09:42:07 +0000 (11:42 +0200)
commitbac53336ca816624581a3de5f2c0991343ae5341
tree364714bd0008d8b2f8f5c33aa6af10dafd851e8f
parent57ac3084f598d238ae829d595bfc20afaf0feb38
mmc: sdhci: replace mmc->parent with mmc_dev() for consistency

As pointed out by Ulf, "both "mmc->parent" and mmc_dev(mmc) are being
used in the entire c-file". Convert all the mmc->parent usage in all
sdhci host driver to mmc_dev() for consistency.

Suggested-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20210324155013.1e5faa3c@xhacker.debian
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-mcf.c
drivers/mmc/host/sdhci-of-aspeed.c
drivers/mmc/host/sdhci-tegra.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci_am654.c