diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-05-15 09:21:43 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-17 06:41:49 -0400 |
commit | 49072f97d4a3f8f44fe9677e3df94082b29b7e6f (patch) | |
tree | e8834eb5216dec5fa552364ab9ca45aac6f55700 | |
parent | 94ef9b8e2b941ab7e7ce88fa48ce626fa529bf2f (diff) |
PM / domains: Improve wording of dev_pm_domain_attach() comment
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/base/power/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/power/common.c b/drivers/base/power/common.c index 390868c2b392..7ae62b6355b8 100644 --- a/drivers/base/power/common.c +++ b/drivers/base/power/common.c | |||
@@ -98,8 +98,8 @@ EXPORT_SYMBOL_GPL(dev_pm_put_subsys_data); | |||
98 | * Callers must ensure proper synchronization of this function with power | 98 | * Callers must ensure proper synchronization of this function with power |
99 | * management callbacks. | 99 | * management callbacks. |
100 | * | 100 | * |
101 | * Returns 0 on successfully attached PM domain and when it found that the | 101 | * Returns 0 on successfully attached PM domain, or when it is found that the |
102 | * device don't need a PM domain, else a negative error code. | 102 | * device doesn't need a PM domain, else a negative error code. |
103 | */ | 103 | */ |
104 | int dev_pm_domain_attach(struct device *dev, bool power_on) | 104 | int dev_pm_domain_attach(struct device *dev, bool power_on) |
105 | { | 105 | { |