diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-01 16:13:44 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-02 08:29:57 -0400 |
commit | 3d5c30367cbc0c55c93bb158e824e00badc7ddc4 (patch) | |
tree | 073ab59dfbf0514e9ba5eb37431a337c5511af33 /arch/arm/mach-shmobile | |
parent | b7b95920aa2e89e655afe9913ee0e55855ceda90 (diff) |
PM: Rename clock management functions
The common PM clock management functions may be used for system
suspend/resume as well as for runtime PM, so rename them
accordingly. Modify kerneldoc comments describing these functions
and kernel messages printed by them, so that they refer to power
management in general rather that to runtime PM.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/pm_runtime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/pm_runtime.c b/arch/arm/mach-shmobile/pm_runtime.c index 99802d28e5d3..2bcde1c46a6b 100644 --- a/arch/arm/mach-shmobile/pm_runtime.c +++ b/arch/arm/mach-shmobile/pm_runtime.c | |||
@@ -30,8 +30,8 @@ static int default_platform_runtime_idle(struct device *dev) | |||
30 | 30 | ||
31 | static struct dev_pm_domain default_pm_domain = { | 31 | static struct dev_pm_domain default_pm_domain = { |
32 | .ops = { | 32 | .ops = { |
33 | .runtime_suspend = pm_runtime_clk_suspend, | 33 | .runtime_suspend = pm_clk_suspend, |
34 | .runtime_resume = pm_runtime_clk_resume, | 34 | .runtime_resume = pm_clk_resume, |
35 | .runtime_idle = default_platform_runtime_idle, | 35 | .runtime_idle = default_platform_runtime_idle, |
36 | USE_PLATFORM_PM_SLEEP_OPS | 36 | USE_PLATFORM_PM_SLEEP_OPS |
37 | }, | 37 | }, |
@@ -52,7 +52,7 @@ static struct pm_clk_notifier_block platform_bus_notifier = { | |||
52 | 52 | ||
53 | static int __init sh_pm_runtime_init(void) | 53 | static int __init sh_pm_runtime_init(void) |
54 | { | 54 | { |
55 | pm_runtime_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); | 55 | pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); |
56 | return 0; | 56 | return 0; |
57 | } | 57 | } |
58 | core_initcall(sh_pm_runtime_init); | 58 | core_initcall(sh_pm_runtime_init); |