The kerneldoc comment of pm_runtime_active() does not reflect the behavior of the function, so update it accordingly.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -129,7 +129,7 @@ static inline bool pm_runtime_suspended(struct device *dev) · 128 unmodified lines | ||
| 129 | 129 | * pm_runtime_active - Check whether or not a device is runtime-active. |
| 130 | 130 | * @dev: Target device. |
| 131 | 131 | * |
| 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 | |
| 133 | 133 | * %RPM_ACTIVE, or %false otherwise. |
| 134 | 134 | * |
| 135 | 135 | * Note that the return value of this function can only be trusted if it is |