sh: allow runtime pm without suspend/resume callbacks
authorMagnus Damm <damm@opensource.se>
Thu, 3 Dec 2009 12:31:45 +0000 (12:31 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 4 Dec 2009 04:42:37 +0000 (13:42 +0900)
commita65d0d79c49ca6e220f770e49416e924fd9ecaec
tree076e95f76a7f0401b264599d005bccad87b38352
parent1c2e36cc9bbd60b8ba1eaa0768da57cf7f7cc570
sh: allow runtime pm without suspend/resume callbacks

This patch updates the Runtime PM code for SuperH Mobile
to allow drivers to have NULL as pm or callback value.
With this in place there is no need for no-op functions.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/shmobile/pm_runtime.c