summaryrefslogtreecommitdiff
path: root/mm/mremap.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2013-07-02 17:10:29 (GMT)
committerMark Brown <broonie@linaro.org>2013-07-15 10:37:14 (GMT)
commitf7ef1da9e22ce390333645fc0ea70ff279eecd55 (patch)
tree4172a2fea9d74b3d57147a02039910a190784579 /mm/mremap.c
parent22c1b69ea833de84a9505135303ff443e62b3b15 (diff)
downloadlinux-fsl-qoriq-f7ef1da9e22ce390333645fc0ea70ff279eecd55.tar.xz
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 'mm/mremap.c')
0 files changed, 0 insertions, 0 deletions