spi: lpspi: enable runtime pm for lpspi
authorHan Xu <han.xu@nxp.com>
Wed, 6 Mar 2019 06:30:39 +0000 (06:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 18 Mar 2019 12:17:00 +0000 (12:17 +0000)
commit944c01a889d97dc08e1b71f4ed868f4023fd6034
tree18f55075584f3fb4bbeeb72b2f94682ee42a632d
parentaddb32866d99068307f8eddb282ebb325d18446f
spi: lpspi: enable runtime pm for lpspi

Enable the runtime power management for lpspi module.

Do some adaptation work from kernel 4.9 to 4.14.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c