spi/bfin_spi: drop bits_per_word from client data
authorMike Frysinger <vapier@gentoo.org>
Mon, 27 Jun 2011 22:16:29 +0000 (18:16 -0400)
committerBob Liu <lliubbo@gmail.com>
Wed, 21 Mar 2012 03:00:07 +0000 (11:00 +0800)
No other SPI controller has this field, and SPI clients should be setting
this up in their own drivers.  So drop it from the Blackfin controller to
keep people from using it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/include/asm/bfin5xx_spi.h

index 5392583d02531fc2e3d2feb20127bf730e575610..fb95c853bb1e542eb72093b2fd0549579662be24 100644 (file)
@@ -77,7 +77,6 @@ struct bfin5xx_spi_master {
 struct bfin5xx_spi_chip {
        u16 ctl_reg;
        u8 enable_dma;
-       u8 bits_per_word;
        u16 cs_chg_udelay; /* Some devices require 16-bit delays */
        /* Value to send if no TX value is supplied, usually 0x0 or 0xFFFF */
        u16 idle_tx_val;