]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: renesas-sdhi: Use priv directly
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Aug 2018 13:27:26 +0000 (15:27 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 30 Aug 2018 13:32:59 +0000 (15:32 +0200)
commit65186977ee06e0df9a9524fa4b6689af4efecac1
treed99cf71d1c6c078ab15d6802d2d6559c8f073bb0
parent313360b13fd3773eb46811e0f93928d4d58c6f32
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 <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/mmc/renesas-sdhi.c