mmc: tmio: set tmio_mmc_host to driver data
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 24 Nov 2017 16:24:39 +0000 (01:24 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 18 Dec 2017 12:56:57 +0000 (13:56 +0100)
commita3b05373e0e06dcb04adf2c50b58cd3feb5f8294
tree19f76571fef49b21d2815a32168159a27b0e07a2
parent4ce6281791676c134d3ae919edaf76da3cef1d76
mmc: tmio: set tmio_mmc_host to driver data

The remove, suspend, resume hooks need to get tmio_mmc_host.  It is
tedious to call mmc_priv() to convert mmc_host to tmio_mmc_host.
We can directly set tmio_mmc_host to driver data.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc_core.c