dm: sata: dw_sata: Pass uc_priv to internal functions
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:06 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commit47c0f3692d27702cb11f67fe05b71b98d77d007c
treecbf1548487a64507f93b6a8426358beb8bd1d6d9
parent4b640dbcac372f0ff712cab76409600bde6e0b42
dm: sata: dw_sata: Pass uc_priv to internal functions

With driver model sata_dev_desc[] does not exist. We still want to use the
common code of this driver so update it to pass struct ahci_uc_priv * to
each of these functions, instead of an integer which must be looked up in
sata_dev_desc[].

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