spi: fsl-espi: simplify fsl_espi_setup_transfer
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 13 Sep 2016 21:15:45 +0000 (23:15 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Sep 2016 17:24:46 +0000 (18:24 +0100)
commitd198ebfb75adec5156b07b96dc21b6b9e5144018
treeacf2f5c2691596d3795acadc8338ebbb912982f0
parent38d003f1a43f3afd6b5e0da728f06dad07a85687
spi: fsl-espi: simplify fsl_espi_setup_transfer

If t is not null then the SPI core takes care that bits_per_word and
speed_hz are populated. This allows to simplify fsl_espi_setup_transfer.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c