summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-uniphier.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-25 08:27:11 -0700
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:56 -0700
commit440714eeb8938e9710d1b2bba17c6c0af7c2cf69 (patch)
tree970f831c02eaf88b70f479d2677b63e0e98daf52 /drivers/i2c/i2c-uniphier.c
parent83c7e434c9dd3ca81f8b763e23c1881b973bcf2f (diff)
downloadblackbird-obmc-uboot-440714eeb8938e9710d1b2bba17c6c0af7c2cf69.tar.gz
blackbird-obmc-uboot-440714eeb8938e9710d1b2bba17c6c0af7c2cf69.zip
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/i2c/i2c-uniphier.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud