From: Andy Shevchenko Date: Tue, 24 Mar 2015 15:43:21 +0000 (+0200) Subject: spi: pxa2xx: shift clk_div in one place X-Git-Tag: omap-for-v4.1/fixes-rc1~176^2~2^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=025ffe88ee605acb03dba0d920908dff5ec15dd0;p=pandora-kernel.git spi: pxa2xx: shift clk_div in one place 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed