spi: pl022: Let runtime PM callbacks be available for CONFIG_PM
authorUlf Hansson <ulf.hansson@linaro.org>
Sat, 1 Mar 2014 10:56:06 +0000 (11:56 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 6 Mar 2014 04:44:45 +0000 (12:44 +0800)
commit736198b0486c8d5032456de0813515d954df978a
tree7b616a69201a413cbf89d8131596bd655cc46203
parente37912fd0bdf174e934af6cfb0002a077867b644
spi: pl022: Let runtime PM callbacks be available for CONFIG_PM

Convert to the SET_PM_RUNTIME_PM macro while defining the runtime PM
callbacks. This means the callbacks becomes available for both
CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME, which is needed to handle the
combinations of these scenarios.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-pl022.c