From: Axel Lin Date: Wed, 11 May 2011 13:28:16 +0000 (+0800) Subject: spi/spi_tegra: use spi_unregister_master() instead of spi_master_put() X-Git-Tag: v3.0-rc1~133^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8901e1b98e1dad75c4567d03dd00a59bd6c450e8;p=pandora-kernel.git spi/spi_tegra: use spi_unregister_master() instead of spi_master_put() spi_master_put() should only be used in error handling. Once spi_register_master() returns success, we should call spi_unregister_master() instead. Signed-off-by: Axel Lin Signed-off-by: Grant Likely --- Reading git-diff-tree failed