diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-25 08:27:11 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:56 -0700 |
commit | 440714eeb8938e9710d1b2bba17c6c0af7c2cf69 (patch) | |
tree | 970f831c02eaf88b70f479d2677b63e0e98daf52 /drivers/misc/mxs_ocotp.c | |
parent | 83c7e434c9dd3ca81f8b763e23c1881b973bcf2f (diff) | |
download | u-boot-imx-440714eeb8938e9710d1b2bba17c6c0af7c2cf69.zip u-boot-imx-440714eeb8938e9710d1b2bba17c6c0af7c2cf69.tar.gz u-boot-imx-440714eeb8938e9710d1b2bba17c6c0af7c2cf69.tar.bz2 |
dm: spi: Set up the spi_slave device pointer in child_pre_probe()
At present we use struct spi_slave as our device pointer in a lot of places
to avoid changing the old SPI API. At some point this will go away.
But for now, it is better if the SPI uclass sets up this pointer, rather
than relying on passing it into the device when it is probed. We can use the
new uclass child_pre_probe() method to do this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/mxs_ocotp.c')
0 files changed, 0 insertions, 0 deletions