From: Brian Niebuhr Date: Thu, 19 Aug 2010 06:45:22 +0000 (+0530) Subject: spi: davinci: consolidate setup of SPIFMTn in one function X-Git-Tag: v2.6.38-rc1~454^2~6^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25f33512f6ae7e37d7b3d353d57d4d6d066033ce;p=pandora-kernel.git spi: davinci: consolidate setup of SPIFMTn in one function Consolidate the setup of SPIFMTn register under davinci_spi_setup_transfer() simplifying the code and avoiding unnecessary reads and writes to the register. The two inline functions {set|clear}_fmt_bits() can be eliminated because of this. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed