]> git.baikalelectronics.ru Git - uboot.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)
commit1e6a3d786495ef38b4ee5b37da25b26ad2b80850
treed99cf71d1c6c078ab15d6802d2d6559c8f073bb0
parentf50b68e8ffdf7d2e15f4cbbb9c716da10fb3178d
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