From: Trent Piepho Date: Tue, 1 Oct 2013 20:14:32 +0000 (-0700) Subject: spi: spi-mxs: Remove mxs_spi_enable and mxs_spi_disable X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~15^2~13^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5bc7384dc4e9bf3bcf976ef0c1ac9704fa1ad43;p=pandora-kernel.git spi: spi-mxs: Remove mxs_spi_enable and mxs_spi_disable These functions consist of nothing but one single writel call and are only called once. And the names really aren't accurate or clear, since they don't enable or disble SPI. Rather they set the bit that controls the state of CS at the end of transfer. It easier to follow the code to just set this bit with a writel() along with all the other bits being set in the same function. Signed-off-by: Trent Piepho Cc: Marek Vasut Cc: Fabio Estevam Cc: Shawn Guo Signed-off-by: Mark Brown --- Reading git-diff-tree failed