diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-10-13 09:25:39 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-10-21 07:10:55 -0400 |
commit | b082ddd8a6a3aa0399763bfb58fc7bdd84c95713 (patch) | |
tree | 27721d658532015c464494ae106b23cbb7fdf986 | |
parent | a2ab5fc41533c952706ebdfaa378bb746e535cc1 (diff) |
PM / core: Fix kerneldoc comments of four functions
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>
-rw-r--r-- | drivers/base/power/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index 12abcf6084a5..9bbbbb13a9db 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -528,7 +528,7 @@ static void dpm_watchdog_clear(struct dpm_watchdog *wd) | |||
528 | /*------------------------- Resume routines -------------------------*/ | 528 | /*------------------------- Resume routines -------------------------*/ |
529 | 529 | ||
530 | /** | 530 | /** |
531 | * device_resume_noirq - Execute an "early resume" callback for given device. | 531 | * device_resume_noirq - Execute a "noirq resume" callback for given device. |
532 | * @dev: Device to handle. | 532 | * @dev: Device to handle. |
533 | * @state: PM transition of the system being carried out. | 533 | * @state: PM transition of the system being carried out. |
534 | * @async: If true, the device is being resumed asynchronously. | 534 | * @async: If true, the device is being resumed asynchronously. |
@@ -1077,7 +1077,7 @@ static pm_message_t resume_event(pm_message_t sleep_state) | |||
1077 | } | 1077 | } |
1078 | 1078 | ||
1079 | /** | 1079 | /** |
1080 | * device_suspend_noirq - Execute a "late suspend" callback for given device. | 1080 | * __device_suspend_noirq - Execute a "noirq suspend" callback for given device. |
1081 | * @dev: Device to handle. | 1081 | * @dev: Device to handle. |
1082 | * @state: PM transition of the system being carried out. | 1082 | * @state: PM transition of the system being carried out. |
1083 | * @async: If true, the device is being suspended asynchronously. | 1083 | * @async: If true, the device is being suspended asynchronously. |
@@ -1237,7 +1237,7 @@ int dpm_suspend_noirq(pm_message_t state) | |||
1237 | } | 1237 | } |
1238 | 1238 | ||
1239 | /** | 1239 | /** |
1240 | * device_suspend_late - Execute a "late suspend" callback for given device. | 1240 | * __device_suspend_late - Execute a "late suspend" callback for given device. |
1241 | * @dev: Device to handle. | 1241 | * @dev: Device to handle. |
1242 | * @state: PM transition of the system being carried out. | 1242 | * @state: PM transition of the system being carried out. |
1243 | * @async: If true, the device is being suspended asynchronously. | 1243 | * @async: If true, the device is being suspended asynchronously. |
@@ -1439,7 +1439,7 @@ static void dpm_clear_suppliers_direct_complete(struct device *dev) | |||
1439 | } | 1439 | } |
1440 | 1440 | ||
1441 | /** | 1441 | /** |
1442 | * device_suspend - Execute "suspend" callbacks for given device. | 1442 | * __device_suspend - Execute "suspend" callbacks for given device. |
1443 | * @dev: Device to handle. | 1443 | * @dev: Device to handle. |
1444 | * @state: PM transition of the system being carried out. | 1444 | * @state: PM transition of the system being carried out. |
1445 | * @async: If true, the device is being suspended asynchronously. | 1445 | * @async: If true, the device is being suspended asynchronously. |