From: Ben Dooks Date: Mon, 12 Feb 2007 08:52:43 +0000 (-0800) Subject: [PATCH] spi: remove return in spi_unregister_driver() X-Git-Tag: v2.6.21-rc1~274^2~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc1e9753106cedcca7944d2b068baa2e14640b1;p=pandora-kernel.git [PATCH] spi: remove return in spi_unregister_driver() Make the spi_unregister_driver() code fit in with the rest of the header file, and only do the action if the driver passed is non-NULL. This also makes the code a line smaller. Signed-off-by: Ben Dooks Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed