spi: Remove support for legacy PM
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 8 Mar 2015 13:56:38 +0000 (14:56 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 8 Mar 2015 19:57:55 +0000 (19:57 +0000)
commitea022bbb0090975a21c581d8405fbe90043a6eda
tree18e5ced3efac5a588dced573e12ec4a46e587486
parent47875e81476bda8a9bd4875eb281b46e33027d42
spi: Remove support for legacy PM

All SPI drivers have been converted from legacy suspend/resume callbacks to
dev_pm_ops. So we can finally remove support for legacy PM from the SPI
core.

Since there aren't any special bus specific things to do during
suspend/resume and since the PM core will automatically fallback directly to
using the device's PM ops if no bus PM ops are specified there is no need to
have any special SPI bus PM ops.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h