spi: dw: replace magic constant by DW_SPI_DR
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 27 Oct 2015 15:48:16 +0000 (17:48 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Oct 2015 00:17:48 +0000 (09:17 +0900)
commitd7ef54ca1219ddf99d56a0f7cf40912ab4c4bb0b
treea30827155246f1f03e3353b4de670fa53acabd42
parentf4aaa1c8a5c0e0a3fc565360df83965f3918c874
spi: dw: replace magic constant by DW_SPI_DR

The offset 0x60 is the offset of the data register defined as DW_SPI_DR in the
header file. Use it.

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