Skip to content

Commit

Permalink
PM / core: Fix kerneldoc comments of four functions
Browse files Browse the repository at this point in the history
Fix the kerneldoc comments of __device_suspend_noirq(),
__device_suspend_late() and __device_suspend() where the function
names in kerneldoc don't match the actual names of the functions.

Also fix the device_resume_noirq() kerneldoc comment which mentions
"early resume" instead of "noirq resume" incorrectly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
Rafael J. Wysocki committed Oct 21, 2017
1 parent a2ab5fc commit b082ddd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/base/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ static void dpm_watchdog_clear(struct dpm_watchdog *wd)
/*------------------------- Resume routines -------------------------*/

/**
* device_resume_noirq - Execute an "early resume" callback for given device.
* device_resume_noirq - Execute a "noirq resume" callback for given device.
* @dev: Device to handle.
* @state: PM transition of the system being carried out.
* @async: If true, the device is being resumed asynchronously.
Expand Down Expand Up @@ -1077,7 +1077,7 @@ static pm_message_t resume_event(pm_message_t sleep_state)
}

/**
* device_suspend_noirq - Execute a "late suspend" callback for given device.
* __device_suspend_noirq - Execute a "noirq suspend" callback for given device.
* @dev: Device to handle.
* @state: PM transition of the system being carried out.
* @async: If true, the device is being suspended asynchronously.
Expand Down Expand Up @@ -1237,7 +1237,7 @@ int dpm_suspend_noirq(pm_message_t state)
}

/**
* device_suspend_late - Execute a "late suspend" callback for given device.
* __device_suspend_late - Execute a "late suspend" callback for given device.
* @dev: Device to handle.
* @state: PM transition of the system being carried out.
* @async: If true, the device is being suspended asynchronously.
Expand Down Expand Up @@ -1439,7 +1439,7 @@ static void dpm_clear_suppliers_direct_complete(struct device *dev)
}

/**
* device_suspend - Execute "suspend" callbacks for given device.
* __device_suspend - Execute "suspend" callbacks for given device.
* @dev: Device to handle.
* @state: PM transition of the system being carried out.
* @async: If true, the device is being suspended asynchronously.
Expand Down

0 comments on commit b082ddd

Please sign in to comment.