dm: spi: Convert uclass to livetree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:54 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:16 +0000 (07:03 -0600)
commit279e26f5a3b865b1a6acf87b404ddec80bc57e63
treed013519428f5b9d45b8d86c6af462388a80867c4
parent8327d41b19af08a331c62954fafd685426e617f4
dm: spi: Convert uclass to livetree

Update the SPI uclass to support a live device tree. Also adjust
spi_slave_ofdata_to_platdata() to accept a device instead of a blob and
offset.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/spi/spi-uclass.c
include/spi.h