spi: revert master->setup function removal for altera and nuc900
authorStephen Warren <swarren@nvidia.com>
Wed, 10 Jul 2013 16:38:18 +0000 (10:38 -0600)
committerMark Brown <broonie@linaro.org>
Thu, 11 Jul 2013 10:35:25 +0000 (11:35 +0100)
commit103ccee4ef1595468cf79c93068d253c7f2d85a8
treeb7aa936bca89bee352b1b52e5628e55ac89b7931
parented893559c9799df3b32051871c22017151394d82
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 <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-altera.c
drivers/spi/spi-nuc900.c