From: Axel Lin Date: Wed, 11 May 2011 13:27:00 +0000 (+0800) Subject: spi/spi_sh: use spi_unregister_master instead of spi_master_put in remove path X-Git-Tag: v3.0-rc1~133^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=680c1305e259a488f489bc887854523b6c6e0705;p=pandora-kernel.git spi/spi_sh: use spi_unregister_master instead of spi_master_put in remove path 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