commit | 12b15e83289bc7cf2ec9a342412e0c955beeb395 | [log] [tgz] |
---|---|---|
author | Anatolij Gustschin <agust@denx.de> | Tue Jul 27 22:35:58 2010 +0200 |
committer | Grant Likely <grant.likely@secretlab.ca> | Fri Jul 30 00:03:59 2010 -0600 |
tree | da1560511f56a9c63246be0ff449229c7adf36b1 | |
parent | 559e2b7ee7a1c7753d534abcb2742a4775339293 [diff] |
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>