spi: rockchip: directly use direction constants
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 10 Oct 2018 09:00:37 +0000 (11:00 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 11 Oct 2018 14:17:31 +0000 (15:17 +0100)
commitd9071b7e9fc474e474e3b865428a8d30d88daaf4
tree1830fe0c9bbea2c999c133be32d9a5e299d5f9a9
parentf340b920511a666b02d371e88801d3817ea7a880
spi: rockchip: directly use direction constants

The dma direction for the tx and rx dma channels never
change, so just use the constants directly rather
than storing them in device data.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c