From 85fe414d3228bdecc52366692c6f70c750f687aa Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 19 Feb 2014 17:30:52 +0800 Subject: [PATCH] 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-format-patch failed