spi: pxa2xx: shift clk_div in one place
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Mar 2015 15:43:21 +0000 (17:43 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 24 Mar 2015 16:32:48 +0000 (09:32 -0700)
This patch refactors ssp_get_clk_div() and pxa2xx_ssp_get_clk_div() to align
clk_div calculations, i.e. ssp_get_clk_div() and quark_x1000_set_clk_regvals()
will return plain clk_div and it will be shifted to proper position in
pxa2xx_ssp_get_clk_div().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c

Simple merge