of/spi: call of_register_spi_devices() from spi core code
authorAnatolij Gustschin <agust@denx.de>
Tue, 27 Jul 2010 20:35:58 +0000 (22:35 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 30 Jul 2010 06:03:59 +0000 (00:03 -0600)
commit12b15e83289bc7cf2ec9a342412e0c955beeb395
treeda1560511f56a9c63246be0ff449229c7adf36b1
parent559e2b7ee7a1c7753d534abcb2742a4775339293
of/spi: call of_register_spi_devices() from spi core code

Move of_register_spi_devices() call from drivers to
spi_register_master(). Also change the function to use
the struct device_node pointer from master spi device
instead of passing it as function argument.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/of_spi.c
drivers/spi/mpc512x_psc_spi.c
drivers/spi/mpc52xx_psc_spi.c
drivers/spi/mpc52xx_spi.c
drivers/spi/spi.c
drivers/spi/spi_mpc8xxx.c
drivers/spi/spi_ppc4xx.c
drivers/spi/xilinx_spi.c
drivers/spi/xilinx_spi_of.c
include/linux/of_spi.h