]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: move piece of code out of condition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Feb 2015 11:32:10 +0000 (13:32 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 24 Feb 2015 14:43:33 +0000 (23:43 +0900)
commit52f6b4683e2f975447f16d2d3bc76d861842e7e0
treed26667c021fabf9545f6ee81abfba512faee16a5
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
spi: dw: move piece of code out of condition

There is no sense to keep a member assignment in the internal structure inside
the condition which reprograms HW. It makes code readability better if kept
outside of the condition.

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