]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3d8005e01ba5806d81b658c17078d228b76de51f
tree207e888b5f2364dfed411b65f7c747e89fbce87e
parent6619ac9c2bda11100487efd0da03b7e3e809a422
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