]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e78d5538647a11c9db5e8b2cd4c20fc5690662f
treee93d0c3c779c72b96496842aedcd3482871cfed4
parent0704e2e34db1dd1732d20760f17c624106fd6394
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