diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2021-11-17 11:38:50 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-11-26 14:06:16 +0100 |
commit | 45177fc641f9de58180af158d1fac8defa99afca (patch) | |
tree | 53116041bf3cf9a1fdc617a0a7ea9dc26b8dafcb /drivers/mmc | |
parent | 366df82fc68a9db22ab9de890a372d79662e397c (diff) | |
download | linux-stable-45177fc641f9de58180af158d1fac8defa99afca.tar.gz linux-stable-45177fc641f9de58180af158d1fac8defa99afca.tar.bz2 linux-stable-45177fc641f9de58180af158d1fac8defa99afca.zip |
mmc: renesas_sdhi: Simplify an expression
We already have 'quirks', no need to go via 'priv'.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20211117103850.28397-1-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/renesas_sdhi_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c index 61cde437f317..415911e96f34 100644 --- a/drivers/mmc/host/renesas_sdhi_core.c +++ b/drivers/mmc/host/renesas_sdhi_core.c @@ -1063,7 +1063,7 @@ int renesas_sdhi_probe(struct platform_device *pdev, host->mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR | MMC_CAP2_HS400_1_8V))) { const struct renesas_sdhi_scc *taps = of_data->taps; - bool use_4tap = priv->quirks && priv->quirks->hs400_4taps; + bool use_4tap = quirks && quirks->hs400_4taps; bool hit = false; for (i = 0; i < of_data->taps_num; i++) { |