From: Anatolij Gustschin Date: Tue, 27 Jul 2010 20:35:58 +0000 (+0200) Subject: of/spi: call of_register_spi_devices() from spi core code X-Git-Tag: v2.6.36-rc1~543^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12b15e83289bc7cf2ec9a342412e0c955beeb395;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed