diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2015-09-15 15:26:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-17 19:36:15 +0200 |
commit | b69d42b5c44bcfc1c73fe185d4644487f1bd3193 (patch) | |
tree | 430041fa2efbd65691213794c456278fe0fbc1ae /drivers/spi/spi-pxa2xx.h | |
parent | spi: pxa2xx: Remove if statement that is always true in pump_transfers() (diff) | |
download | linux-b69d42b5c44bcfc1c73fe185d4644487f1bd3193.tar.xz linux-b69d42b5c44bcfc1c73fe185d4644487f1bd3193.zip |
spi: pxa2xx: Remove cr0 variable from struct chip_data
There hasn't been need to carry chip->cr0 after SPI core started to
validate speed_hz and bits_per_word transfer parameters. That effectively
caused that pump_transfers() always recalculated it and practically
chip->cr0 is used locally in setup() for debug prints only.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.h')
-rw-r--r-- | drivers/spi/spi-pxa2xx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index 0875e985b90d..b91bda26bfa8 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h @@ -86,7 +86,6 @@ struct driver_data { }; struct chip_data { - u32 cr0; u32 cr1; u32 dds_rate; u32 psp; |