PM / domains: Improve wording of dev_pm_domain_attach() comment
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 15 May 2018 13:21:43 +0000 (15:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 May 2018 10:41:49 +0000 (12:41 +0200)
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>
drivers/base/power/common.c

index 390868c..7ae62b6 100644 (file)
@@ -98,8 +98,8 @@ EXPORT_SYMBOL_GPL(dev_pm_put_subsys_data);
  * Callers must ensure proper synchronization of this function with power
  * 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)
 {