From: H Hartley Sweeten Date: Tue, 2 Jul 2013 17:10:00 +0000 (-0700) Subject: spi: spi-ep93xx: don't bother calculating the divisors in ep93xx_spi_setup() X-Git-Tag: v3.12-rc1~192^2~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c1b69ea833de84a9505135303ff443e62b3b15;p=pandora-kernel.git spi: spi-ep93xx: don't bother calculating the divisors in ep93xx_spi_setup() The divisors needed to generate the SPI clock are calculated per transfer based on the t->speed_hz. There is no reason to calculate them in ep93xx_spi_setup(). Signed-off-by: H Hartley Sweeten Acked-by: Mika Westerberg Signed-off-by: Mark Brown --- Reading git-diff-tree failed