]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi/pl022: Minor simplification for runtime pm
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 17 Oct 2012 12:27:08 +0000 (14:27 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Oct 2012 13:14:18 +0000 (22:14 +0900)
commit0df349945752bf04cee52babf266bbf1f4812193
tree0c2e103a667c837b088a04d9ab4fbee02a457381
parentddffeb8c4d0331609ef2581d84de4d763607bd37
spi/pl022: Minor simplification for runtime pm

In probe pm_runtime_put_autosuspend has the same effect as doing
pm_runtime_put. This due to upper layer in driver core is preventing
the device from being runtime suspended by a pm_runtime_get*.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pl022.c