Skip to content

Commit 45177fc

Browse files
Wolfram Sanggeertu
authored andcommitted
mmc: renesas_sdhi: Simplify an expression
We already have 'quirks', no need to go via 'priv'. Signed-off-by: Wolfram Sang <[email protected]> Acked-by: Ulf Hansson <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 366df82 commit 45177fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/renesas_sdhi_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ int renesas_sdhi_probe(struct platform_device *pdev,
10631063
host->mmc->caps2 & (MMC_CAP2_HS200_1_8V_SDR |
10641064
MMC_CAP2_HS400_1_8V))) {
10651065
const struct renesas_sdhi_scc *taps = of_data->taps;
1066-
bool use_4tap = priv->quirks && priv->quirks->hs400_4taps;
1066+
bool use_4tap = quirks && quirks->hs400_4taps;
10671067
bool hit = false;
10681068

10691069
for (i = 0; i < of_data->taps_num; i++) {

0 commit comments

Comments
 (0)