diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-02-08 23:12:20 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-11 18:53:00 +0000 |
commit | 0fd73763350fee019cd35d8d4c3c384f6ee493a1 (patch) | |
tree | ec20c9e6b90a3af255bbe8b6ce36ea64cb660529 /drivers/spi | |
parent | 0a4e210e9965de3812df079fc70a702afc4445d2 (diff) | |
download | linux-0fd73763350fee019cd35d8d4c3c384f6ee493a1.tar.gz linux-0fd73763350fee019cd35d8d4c3c384f6ee493a1.tar.bz2 linux-0fd73763350fee019cd35d8d4c3c384f6ee493a1.zip |
spi: octeon: Remove unused bits_per_word from struct octeon_spi_setup
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-octeon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c index 862ef30853d3..31b41445a85e 100644 --- a/drivers/spi/spi-octeon.c +++ b/drivers/spi/spi-octeon.c @@ -37,7 +37,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) @@ -204,7 +203,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; } |