Commit 0fd73763 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

spi: octeon: Remove unused bits_per_word from struct octeon_spi_setup

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 0a4e210e
...@@ -37,7 +37,6 @@ struct octeon_spi_setup { ...@@ -37,7 +37,6 @@ struct octeon_spi_setup {
u32 max_speed_hz; u32 max_speed_hz;
u8 chip_select; u8 chip_select;
u8 mode; u8 mode;
u8 bits_per_word;
}; };
static void octeon_spi_wait_ready(struct octeon_spi *p) 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) ...@@ -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->max_speed_hz = spi->max_speed_hz;
setup->chip_select = spi->chip_select; setup->chip_select = spi->chip_select;
setup->mode = spi->mode; setup->mode = spi->mode;
setup->bits_per_word = spi->bits_per_word;
return setup; return setup;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment