From: Stephen Warren Date: Wed, 10 Jul 2013 16:38:18 +0000 (-0600) Subject: spi: revert master->setup function removal for altera and nuc900 X-Git-Tag: v3.11-rc2~26^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=103ccee4ef1595468cf79c93068d253c7f2d85a8;p=pandora-kernel.git spi: revert master->setup function removal for altera and nuc900 Commit 24778be "spi: convert drivers to use bits_per_word_mask" removed what appeared to be redundant code from many drivers. However, it appears that in the spi-bitbang case, these functions are required by the spi-bitbang core, even if they don't do anything. Restore them. For 3.12, the spi-bitbang core should be adjusted not to require these callbacks to exist if they don't need to do anything. This is the equivalent of Michal Simek's patch "spi/xilinx: Revert master->setup function removal", applied to other affected drivers. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed