]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi/atmel: improve the system suspend/resume functions implementation
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 21 Oct 2014 03:43:34 +0000 (11:43 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Oct 2014 21:27:14 +0000 (22:27 +0100)
commitc1ee8f3fdff2b5763fe13be0a50a7ab3df015f5b
tree9356ba4b2a2a1527c1cf3de97c51682f60043aa8
parentd0de6ff6b92665c10a93795e9d041a61f64431af
spi/atmel: improve the system suspend/resume functions implementation

To make it cleaner, the system suspend/resume directly call
the runtime suspend/resume functions
and remove the wapper of CONFIG_PM_RUNTIME, CONFIG_PM_SLEEP.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-atmel.c