spi: fsl-espi: remove usage of mpc8xxx_spi->flags
commite3ce4f44f6a0e698f945633355d1ba5fbd32cfa6
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 13 Nov 2016 13:37:18 +0000 (13 14:37 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 14 Nov 2016 11:21:26 +0000 (14 11:21 +0000)
treec4d9657bf7ad5315374101570ef904650b337730
parent7454346b0cbc2a71311e1edcf1da5f1113c8a45c
spi: fsl-espi: remove usage of mpc8xxx_spi->flags

Change the check to access property "mode" directly.
This allows us to get rid of mpc8xxx_spi->flags in a subsequent
patch in this patch series as it's used nowhere else.

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