]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: Use spi_alloc_slave() in each SPI driver
authorSimon Glass <sjg@chromium.org>
Mon, 18 Mar 2013 19:23:40 +0000 (19:23 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 19 Mar 2013 15:45:36 +0000 (08:45 -0700)
commitd3504fee73ec626117427afa08116d1dde21ba9d
tree04b3d508a3ce15c1e67baf76cf964aedf3c559a7
parentba6c3ce9bd0ac572592dc909878117dce219c564
spi: Use spi_alloc_slave() in each SPI driver

Rather than each driver having its own way to allocate a SPI slave,
use the new allocation function everywhere. This will make it easier
to extend the interface without breaking drivers.

Signed-off-by: Simon Glass <sjg@chromium.org>
23 files changed:
drivers/spi/altera_spi.c
drivers/spi/andes_spi.c
drivers/spi/armada100_spi.c
drivers/spi/atmel_spi.c
drivers/spi/bfin_spi.c
drivers/spi/bfin_spi6xx.c
drivers/spi/cf_qspi.c
drivers/spi/cf_spi.c
drivers/spi/davinci_spi.c
drivers/spi/exynos_spi.c
drivers/spi/fsl_espi.c
drivers/spi/kirkwood_spi.c
drivers/spi/mpc52xx_spi.c
drivers/spi/mpc8xxx_spi.c
drivers/spi/mxc_spi.c
drivers/spi/mxs_spi.c
drivers/spi/oc_tiny_spi.c
drivers/spi/omap3_spi.c
drivers/spi/sh_spi.c
drivers/spi/soft_spi.c
drivers/spi/tegra_slink.c
drivers/spi/tegra_spi.c
drivers/spi/xilinx_spi.c