spi: imx: drop useless member speed_hz from driver data struct
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 30 Nov 2018 06:47:09 +0000 (07:47 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 11 Dec 2018 12:00:18 +0000 (12:00 +0000)
commit3f75720d0ebb388ff52200d00f2455cc0e6d95a9
treecc3245c7eb7dade9d6dfbff11634594097519ecf
parent1d374703fb988d5c78c8ee68c4e56df4a4f37217
spi: imx: drop useless member speed_hz from driver data struct

The driver data's member variable just caches the transfer's speed_hz
member. All users of the former now have access directly to the latter.
So fix them to use the uncached value and remove the cache.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c