Skip to content

Commit

Permalink
PM / core: fix kerneldoc comment for device_pm_wait_for_dev()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yangtao Li authored and Rafael J. Wysocki committed Apr 9, 2019
1 parent c4a586f commit 0b237cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0b237cb

Please sign in to comment.