]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bcm2835: Drop assignment of dma_slave_config direction
authorLukas Wunner <lukas@wunner.de>
Mon, 13 May 2019 14:48:39 +0000 (16:48 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 May 2019 12:22:32 +0000 (13:22 +0100)
commit209f28d5439cc0608c0abc3c6c67b8f6bef788e9
tree4c9ec3221e5340c589914480d2881ffaddc8d419
parente0580674b3043e43ceeb1919021989209ea0b3d6
spi: bcm2835: Drop assignment of dma_slave_config direction

The BCM2835 SPI driver still sets the "direction" member in struct
dma_slave_config even though it was deprecated five years ago with
commit 8d60b20c0eaf ("dmaengine: Mark the struct dma_slave_config
direction field deprecated") and is no longer evaluated by the BCM2835
DMA driver since commit 65f5c36cfe5c ("dmaengine: bcm2835: remove
dma_slave_config direction usage").

Drop the superfluous assignment.
No functional change intended.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
Cc: Martin Sperl <kernel@martin.sperl.org>
Cc: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835.c