History

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.

Rafael J. Wysocki committed 4 years ago

Commit 444dd871 parent 0fcfb001 file · +1 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/pm_runtime.h+1−1
@@ -129,7 +129,7 @@ static inline bool pm_runtime_suspended(struct device *dev) · 128 unmodified lines
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