spi: rockchip: use designated init for dma config
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 31 Oct 2018 10:56:59 +0000 (11:56 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:41:50 +0000 (11:41 +0000)
commit31bcb57be12fd815a9051f07d64334809b8cb472
tree76f8a7605590733b1cd046f79f4d72d98b763e25
parent30688e4e670d21126aa596df4523940e2f8d24de
spi: rockchip: use designated init for dma config

Use C99 designated initializers for dma slave config
structures. This also makes sure uninitialized fields
are zeroed so we don't need an explicit memset.

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