diff mbox

spi: octeon: Remove unused bits_per_word from struct octeon_spi_setup

Message ID 1391872340.4110.5.camel@phoenix (mailing list archive)
State Accepted
Commit 0fd73763350fee019cd35d8d4c3c384f6ee493a1
Headers show

Commit Message

Axel Lin Feb. 8, 2014, 3:12 p.m. UTC
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/spi/spi-octeon.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Mark Brown Feb. 11, 2014, 6:59 p.m. UTC | #1
On Sat, Feb 08, 2014 at 11:12:20PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c
index cf88974..1bd6eca 100644
--- a/drivers/spi/spi-octeon.c
+++ b/drivers/spi/spi-octeon.c
@@ -36,7 +36,6 @@  struct octeon_spi_setup {
 	u32 max_speed_hz;
 	u8 chip_select;
 	u8 mode;
-	u8 bits_per_word;
 };
 
 static void octeon_spi_wait_ready(struct octeon_spi *p)
@@ -203,7 +202,6 @@  static struct octeon_spi_setup *octeon_spi_new_setup(struct spi_device *spi)
 	setup->max_speed_hz = spi->max_speed_hz;
 	setup->chip_select = spi->chip_select;
 	setup->mode = spi->mode;
-	setup->bits_per_word = spi->bits_per_word;
 	return setup;
 }