spi: stm32: add runtime PM support
commit038ac869c9d27fceb6197e775d780ad6aeb45b1f
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 27 Jun 2017 15:45:18 +0000 (27 17:45 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jun 2017 19:00:54 +0000 (28 20:00 +0100)
tree934b1e41f40bbbcaa1c5393dcd55a318fb1fcfeb
parent128ebb89c50e5452704de82d78845baeb3333c24
spi: stm32: add runtime PM support

This patch reworks suspend and resume callbacks and add runtime_suspend
and runtime_resume callbacks.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c