diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-08-05 19:45:54 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-03 19:36:03 -0400 |
commit | 6fb28badf207a6d8a78906353772e1c3f560a977 (patch) | |
tree | 3cb1cdc06c263708dd40e9c490fcf8ddf921bbbd /drivers/clocksource | |
parent | bed2b42d9f0b411f384c5619870ab0fea5dd116b (diff) |
PM / Domains: Rename the always_on device flag to syscore
The always_on device flag is used to mark the devices (belonging to
a PM domain) that should never be turned off, except for the system
core (syscore) suspend/hibernation and resume stages. Change name
of that flag to "syscore" to better reflect its purpose.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/sh_cmt.c | 2 | ||||
-rw-r--r-- | drivers/clocksource/sh_mtu2.c | 2 | ||||
-rw-r--r-- | drivers/clocksource/sh_tmu.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index c06d27fc59e8..c6fbb9f71911 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c | |||
@@ -717,7 +717,7 @@ static int __devinit sh_cmt_probe(struct platform_device *pdev) | |||
717 | struct sh_timer_config *cfg = pdev->dev.platform_data; | 717 | struct sh_timer_config *cfg = pdev->dev.platform_data; |
718 | 718 | ||
719 | if (cfg->clocksource_rating || cfg->clockevent_rating) | 719 | if (cfg->clocksource_rating || cfg->clockevent_rating) |
720 | pm_genpd_dev_always_on(&pdev->dev, true); | 720 | pm_genpd_dev_syscore(&pdev->dev, true); |
721 | } | 721 | } |
722 | 722 | ||
723 | if (p) { | 723 | if (p) { |
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index a55bb905812e..278c18abb2ae 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c | |||
@@ -323,7 +323,7 @@ static int __devinit sh_mtu2_probe(struct platform_device *pdev) | |||
323 | struct sh_timer_config *cfg = pdev->dev.platform_data; | 323 | struct sh_timer_config *cfg = pdev->dev.platform_data; |
324 | 324 | ||
325 | if (cfg->clockevent_rating) | 325 | if (cfg->clockevent_rating) |
326 | pm_genpd_dev_always_on(&pdev->dev, true); | 326 | pm_genpd_dev_syscore(&pdev->dev, true); |
327 | } | 327 | } |
328 | 328 | ||
329 | if (p) { | 329 | if (p) { |
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 7d700829bb41..5319689c579c 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c | |||
@@ -453,7 +453,7 @@ static int __devinit sh_tmu_probe(struct platform_device *pdev) | |||
453 | struct sh_timer_config *cfg = pdev->dev.platform_data; | 453 | struct sh_timer_config *cfg = pdev->dev.platform_data; |
454 | 454 | ||
455 | if (cfg->clocksource_rating || cfg->clockevent_rating) | 455 | if (cfg->clocksource_rating || cfg->clockevent_rating) |
456 | pm_genpd_dev_always_on(&pdev->dev, true); | 456 | pm_genpd_dev_syscore(&pdev->dev, true); |
457 | } | 457 | } |
458 | 458 | ||
459 | if (p) { | 459 | if (p) { |