summaryrefslogtreecommitdiff
path: root/drivers/base/power/domain.c
diff options
context:
space:
mode:
authorLina Iyer <lina.iyer@linaro.org>2016-11-03 14:54:35 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-12-06 22:05:38 +0100
commit598da548ef78927c6e8a6baeed8072fa9db74ff1 (patch)
tree49c2cc92190b354a2ff9b5b782af8d2b2078e342 /drivers/base/power/domain.c
parent34994692216b5af2f05858324c3b4863cbaf41cf (diff)
downloadlwn-598da548ef78927c6e8a6baeed8072fa9db74ff1.tar.gz
lwn-598da548ef78927c6e8a6baeed8072fa9db74ff1.zip
PM / Domains: Fix compatible for domain idle state
Re-using idle state definition provided by arm,idle-state for domain idle states creates a lot of confusion and limits further evolution of the domain idle definition. To keep things clear and simple, define a idle states for domain using a new compatible "domain-idle-state". Fix existing PM domains code to look for the newly defined compatible. Signed-off-by: Lina Iyer <lina.iyer@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base/power/domain.c')
-rw-r--r--drivers/base/power/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 46e7f6052c9b..5711708532db 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -2049,7 +2049,7 @@ out:
EXPORT_SYMBOL_GPL(genpd_dev_pm_attach);
static const struct of_device_id idle_state_match[] = {
- { .compatible = "arm,idle-state", },
+ { .compatible = "domain-idle-state", },
{ }
};