From: Axel Lin Date: Wed, 19 Feb 2014 09:30:52 +0000 (+0800) Subject: spi: octeon: Remove struct octeon_spi_setup usage X-Git-Tag: v3.15-rc1~147^2~4^9~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85fe414d3228bdecc52366692c6f70c750f687aa;p=pandora-kernel.git spi: octeon: Remove struct octeon_spi_setup usage Current code uses struct octeon_spi_setup to store max_speed_hz, chip_select and mode settings of current spi device. We can always get the same settings in octeon_spi_do_transfer() by msg->spi. So this patch removes struct octeon_spi_setup and octeon_spi_setup, octeon_spi_cleanup functions. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed