spi/pl022: enable runtime PM
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jun 2012 14:14:51 +0000 (16:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 2 Jul 2012 11:55:36 +0000 (13:55 +0200)
commit2fb30d1147c599f5657e8c62c862f9a0f58d9d99
tree917b92b1861b04054b7aa338dd5de82eef72224d
parent42f978c3ef26db2a125eff24557a007ab8dd3e8d
spi/pl022: enable runtime PM

If we're gonna use runtime PM it's a pretty good idea to actually
enable it in probe() and disable it in remove() too, so it
gets used for real. Up until now we only fooled around with the
reference count.

Cc: Vinit Shenoy <vinit.shenoy@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c