spi/xilinx: Convert bits_per_word in bytes_per_word
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Wed, 28 Jan 2015 12:23:50 +0000 (13:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 19:42:43 +0000 (19:42 +0000)
commit17aaaa80327107843f8ea6d2629ab5f733fc01aa
treed589e3bfc876315f75156948d3b14c59335a30c2
parentd79b2d073ae4eeb79ce1aa27c96fe9e3f7582e97
spi/xilinx: Convert bits_per_word in bytes_per_word

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