summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2019-03-15 23:48:41 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-04-09 12:18:01 +0200
commit0b237cb2fc7b10b2c4e92477760fa7442847c804 (patch)
treee357925e4e19cf3923d5709d133ce5be2946c690 /drivers/base
parentc4a586fdd440931c2773a9da42c1fc564068f128 (diff)
downloadlinux-0b237cb2fc7b10b2c4e92477760fa7442847c804.tar.bz2
PM / core: fix kerneldoc comment for device_pm_wait_for_dev()
Rearrange comment to make the comment style consistent, the previous function parameters are described first. Signed-off-by: Yangtao Li <tiny.windzz@gmail.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 497238704abd..41eba82ee7b9 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -2069,8 +2069,8 @@ EXPORT_SYMBOL_GPL(__suspend_report_result);
/**
* device_pm_wait_for_dev - Wait for suspend/resume of a device to complete.
- * @dev: Device to wait for.
* @subordinate: Device that needs to wait for @dev.
+ * @dev: Device to wait for.
*/
int device_pm_wait_for_dev(struct device *subordinate, struct device *dev)
{