]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: dw: get TX level without an additional variable
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 24 Feb 2015 11:32:11 +0000 (13:32 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 24 Feb 2015 14:43:34 +0000 (23:43 +0900)
commitea11370fffdfedbd0cca0fce17907d2c993246bc
treef21a1e072b1f238c2ce5ed30c8d820c82b69d428
parent39bc03bfecab38e7532449d54aeef3db817084af
spi: dw: get TX level without an additional variable

There is no need to have an additional variable to get a TX level. The patch
refactors this piece of code.

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