]> git.sur5r.net Git - u-boot/commit
dm: spi: introduce dm api
authorPeng Fan <van.freenix@gmail.com>
Tue, 3 May 2016 02:02:22 +0000 (10:02 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commit7a3eff4ce962de50bd9a1d83a9fce178c04999d3
tree269d284659e51ef795fb669089eef2f32f526db5
parent102412c415b5e51b01ed5797c965d0feaa065439
dm: spi: introduce dm api

Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer
Convert spi_claim_bus, spi_release_bus and spi_xfer to use
the new API.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jagan Teki <jteki@openedev.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/spi/spi-uclass.c
include/spi.h