dm: sata: dw_sata: Set up common versions of operations
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:12 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commit752126a05a73303192d704250a0e68156241784d
tree3348b3b45994bca358b28bd4963a502887fe799f
parent036a803e1b69b9eb5747d63b9469cccc090114f4
dm: sata: dw_sata: Set up common versions of operations

Driver model wants to use the core functions in this file but accesses the
uclass-private data in a different way. Move the code into new 'common'
functions and set up stubs to call these.

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