dm: mmc: fsl_esdhc: Pass private data to internal functions
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:17 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commit09b465fd0fff6e540bbc1c34fdebb07f5d8091ef
tree42fc26e38d90bb29528af2b1e4005b921db6127b
parentc893f1e6e5cd6ccd4c7aaaf760f27fa6779e351c
dm: mmc: fsl_esdhc: Pass private data to internal functions

With driver model we will not use mmc->priv to access driver-private data.
To accomodate this, update internal functions so that we can pass the
private data directly. This will allow the caller to obtain it as it
prefers.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/fsl_esdhc.c