spi: rockchip: don't store dma channels twice
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 31 Oct 2018 10:57:04 +0000 (11:57 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:42:13 +0000 (11:42 +0000)
commiteee06a9ee2cd5deaddc5f77ce8f6118c8b82b2a0
tree207e888b5f2364dfed411b65f7c747e89fbce87e
parentfc1ad8ee33480bdf0493b54907b74538bf9b75b8
spi: rockchip: don't store dma channels twice

The spi master (aka spi controller) structure already
has two fields for storing the rx and tx dma channels.
Just use them rather than duplicating them in driver data.

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