dm: mmc: fsl_esdhc: Set up common versions of operations
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:18 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commit9586aa6ea3958dc0dd608e41c27d79d66309ba12
tree95b3a053dbf697923f5d029345673bedce734804
parent09b465fd0fff6e540bbc1c34fdebb07f5d8091ef
dm: mmc: fsl_esdhc: Set up common versions of operations

Driver model wants to use the core functions in this file but accesses the
driver-private data in a different way. Move the code into new 'common'
functions and set up stubs to call these. Also sort the operations into
alphabetical order for consistency.

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