diff options
| author | Marek Vasut <[email protected]> | 2018-08-30 15:27:26 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2018-08-30 15:32:59 +0200 |
| commit | 65186977ee06e0df9a9524fa4b6689af4efecac1 (patch) | |
| tree | d99cf71d1c6c078ab15d6802d2d6559c8f073bb0 /drivers | |
| parent | 313360b13fd3773eb46811e0f93928d4d58c6f32 (diff) | |
mmc: renesas-sdhi: Use priv directly
The dev_get_priv(dev) is used twice in the probe function.
Replace the second invocation with priv variable.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mmc/renesas-sdhi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index ecdb088ac4d..f8dc5f57ce1 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -374,7 +374,7 @@ static int renesas_sdhi_probe(struct udevice *dev) ret = tmio_sd_probe(dev, quirks); #if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT) if (!ret) - renesas_sdhi_reset_tuning(dev_get_priv(dev)); + renesas_sdhi_reset_tuning(priv); #endif return ret; } |
