]> git.baikalelectronics.ru Git - kernel.git/commit
spi/xilinx: Convert remainding_bytes in remaining words
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Wed, 28 Jan 2015 12:23:49 +0000 (13:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 19:42:43 +0000 (19:42 +0000)
commit488312f6b84ed0fcbd12eddb8f79485a64bc771c
tree092094893ad3a835448691dc5cb5288c9de51ee3
parent94d84a71aa2f109f4524855a757e27221aa81c28
spi/xilinx: Convert remainding_bytes in remaining words

Simplify the code by using the unit used on most of the code logic.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xilinx.c