Skip to content

Commit 444dd87

Browse files
committed
PM: runtime: Fix pm_runtime_active() kerneldoc comment
The kerneldoc comment of pm_runtime_active() does not reflect the behavior of the function, so update it accordingly. Fixes: 403d2d1 ("PM: runtime: Add kerneldoc comments to multiple helpers") Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Ulf Hansson <[email protected]>
1 parent 0fcfb00 commit 444dd87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/pm_runtime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static inline bool pm_runtime_suspended(struct device *dev)
129129
* pm_runtime_active - Check whether or not a device is runtime-active.
130130
* @dev: Target device.
131131
*
132-
* Return %true if runtime PM is enabled for @dev and its runtime PM status is
132+
* Return %true if runtime PM is disabled for @dev or its runtime PM status is
133133
* %RPM_ACTIVE, or %false otherwise.
134134
*
135135
* Note that the return value of this function can only be trusted if it is

0 commit comments

Comments
 (0)