From: Axel Lin Date: Mon, 24 Feb 2014 15:07:36 +0000 (+0800) Subject: spi: qup: Get rid of using struct spi_qup_device X-Git-Tag: v3.15-rc1~147^2~3^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00cce74d081e86ee0660cbe41699cbc523a55605;p=pandora-kernel.git spi: qup: Get rid of using struct spi_qup_device Current code uses struct spi_qup_device to store spi->mode and spi->chip_select settings. We can get these settings in spi_qup_transfer_one and spi_qup_set_cs without using struct spi_qup_device. Refactor the code a bit to remove spi_qup_setup(), spi_qup_cleanup(), and struct spi_qup_device. Signed-off-by: Axel Lin Tested-by: Ivan T. Ivanov Signed-off-by: Mark Brown --- Reading git-diff-tree failed