]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: fsl-espi: migrate relevant parts of mpc8xxx_spi_probe and of_mpc8xxx_spi_probe
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 13 Nov 2016 13:37:41 +0000 (14:37 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 14 Nov 2016 11:21:27 +0000 (11:21 +0000)
commit7cb55577232fa07a089e0e0353fb445403f34697
tree8029cbabd807e6a4997b142cf9f94422c0fa225f
parentcdb2f77cf520d72a4782354f08deb43db00eff19
spi: fsl-espi: migrate relevant parts of mpc8xxx_spi_probe and of_mpc8xxx_spi_probe

Very little of the library functions mpc8xxx_spi_probe and
of_mpc8xxx_spi_probe is relevant for fsl-espi.

Therefore migrate the relevant parts to fsl-espi (considering
that get_brgfreq() always returns -1 on systems with ESPI)
and remove use of these functions.

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