spi: spi-ep93xx: remove 'dss' from per chip private data
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 2 Jul 2013 17:09:29 +0000 (10:09 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:37:14 +0000 (11:37 +0100)
commitd9b65dfd44fdade5c0fde5f7b8a0f267e99f990d
treee2e4636fe3e3d3e980a3ac84ffa565f31d712360
parentb2d185edbac9c40adb1d390ad966e6900992e69d
spi: spi-ep93xx: remove 'dss' from per chip private data

This value is only needed to set the bits per word for each transfer
of a message. There is no reason to set the value in ep93xx_spi_enable()
because ep93xx_spi_process_transfer() sets it again for each transfer.

Just pass the t->bits_per_word directly to ep93xx_spi_chip_setup() in
ep93xx_spi_process_transfer() and remove 'dss' from the per chip private
data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ep93xx.c