diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2013-07-02 10:10:29 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 11:37:14 +0100 |
commit | f7ef1da9e22ce390333645fc0ea70ff279eecd55 (patch) | |
tree | 4172a2fea9d74b3d57147a02039910a190784579 /drivers/vme | |
parent | 22c1b69ea833de84a9505135303ff443e62b3b15 (diff) |
spi: spi-ep93xx: move the clock divider calcs into ep93xx_spi_chip_setup()
The divider values stored in the per chip data are only used to set the
registers in the hardware to generate the desired SPI clock. Since these
are calculated per transfer based on the t->speed_hz there is no reason
keep them in the per chip data.
Move the ep93xx_spi_calc_divisors() call into ep93xx_spi_chip_setup()
and return the dividers thru pointers. Remove the divider values from
the per chip data structure.
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>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions