Home
last modified time | relevance | path

Searched hist:"440714 eeb8938e9710d1b2bba17c6c0af7c2cf69" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/spi/
H A Dspi-uclass.c440714eeb8938e9710d1b2bba17c6c0af7c2cf69 Sun Jan 25 15:27:11 UTC 2015 Simon Glass <sjg@chromium.org> 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>