spi: dw-mid: change magic numbers to the constants
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Oct 2014 13:31:07 +0000 (16:31 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 2 Oct 2014 16:06:26 +0000 (17:06 +0100)
commit15ee3be78b017ee9d697fe59d45cdfbb35d9fdeb
treee93d0c3c779c72b96496842aedcd3482871cfed4
parentc3c6e231d860774037e7001ff3d536e5644fe2da
spi: dw-mid: change magic numbers to the constants

Instead of using magic numbers in the code we create a bit map definition of
the DMACR register and use it.

There is no functional change.

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