]> git.karo-electronics.de Git - linux-beck.git/commit
spi: dw: remove unneeded cr0 member of struct chip_data
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Oct 2015 20:12:18 +0000 (23:12 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Oct 2015 19:31:57 +0000 (20:31 +0100)
commit4adb1f8f880081ee9921ebd399786387e0cd6f52
tree6f0cdfed5b8a0713cf9e1cb6e1da4a804bbd309c
parent5f0966e61f0a65bef26b9fedbc1a4ab22a6f918b
spi: dw: remove unneeded cr0 member of struct chip_data

Since we recalculate cr0 each time we start a transfer the chip_data->cr0
becomes redundant. Remove it and related pieces.

This is a follow up to commit 0ed36990a93b (spi: dw: Remove needless if
statements).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c