mtd: dataflash: Remove use of tx_dma
authorMark Brown <broonie@kernel.org>
Wed, 29 Oct 2014 12:27:32 +0000 (12:27 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 5 Nov 2014 20:57:24 +0000 (12:57 -0800)
commit7a95db03040e8b11de21f367e2f1a3457c7a37b4
tree65cff022f53bd41904c313fc54b83ae443e1904e
parentb94ed087744c5bc287d2ed706b476693df07151d
mtd: dataflash: Remove use of tx_dma

We are trying to remove the legacy tx_dma and rx_dma fields from the
spi_transfer structure. Currently dataflash uses tx_dma but only to make
sure that it's set to 0 so we can remove this use by replacing with a
zero initialisation of the entire spi_transfer struct.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/mtd_dataflash.c