浏览代码

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>
Geert Uytterhoeven 7 年之前
父节点
当前提交
49072f97d4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/base/power/common.c

+ 2 - 2
drivers/base/power/common.c

@@ -98,8 +98,8 @@ EXPORT_SYMBOL_GPL(dev_pm_put_subsys_data);
  * Callers must ensure proper synchronization of this function with power
  * Callers must ensure proper synchronization of this function with power
  * management callbacks.
  * management callbacks.
  *
  *
- * Returns 0 on successfully attached PM domain and when it found that the
- * device don't need a PM domain, else a negative error code.
+ * Returns 0 on successfully attached PM domain, or when it is found that the
+ * device doesn't need a PM domain, else a negative error code.
  */
  */
 int dev_pm_domain_attach(struct device *dev, bool power_on)
 int dev_pm_domain_attach(struct device *dev, bool power_on)
 {
 {