From: David Brownell Date: Wed, 17 Jun 2009 23:26:03 +0000 (-0700) Subject: spi: move common spi_setup() functionality into core X-Git-Tag: v2.6.31-rc1~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d0771970c51e736758525dd71fb82dd036b823a;p=pandora-kernel.git spi: move common spi_setup() functionality into core Start moving some spi_setup() functionality into the SPI core from the various spi_master controller drivers: - Make that function stop being an inline; - Move two common idioms from drivers into that new function: * Default bits_per_word to 8 if that field isn't set * Issue a standardized dev_dbg() message This is a net minor source code shrink, and supports enhancments found in some follow-up patches. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed