Skip to contentSkip to conversation

PM: Fix typo in pm_runtime_set_active() helper comment

PATCH Applied Bean Huo 2 participants 2 messages Oct 20, 2020 Power management core

lore
Share & tools
lore

Bean Huo

author
#0 lore raw

PATCH 1/1 PM: Fix typo in pm_runtime_set_active() helper comment

From: Bean Huo <[email protected]>

This patch is to fix typo in the comment of helper pm_runtime_set_active().

---
 include/linux/pm_runtime.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/pm_runtime.h +1 -1
index 6245caa18034..18b02dcc168e 100644
@@ -479,7 +479,7 @@ static inline int pm_runtime_set_active(struct device *dev)
 }
 
 /**
- * pm_runtime_set_suspended - Set runtime PM status to "active".
+ * pm_runtime_set_suspended - Set runtime PM status to "suspended".
  * @dev: Target device.
  *
  * Set the runtime PM status of @dev to %RPM_SUSPENDED and ensure that
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 15 lines · Bean Huo

From: Bean Huo <[email protected]>

This patch is to fix typo in the comment of helper pm_runtime_set_active().

---
 include/linux/pm_runtime.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/pm_runtime.h +0 -0
index 6245caa18034..18b02dcc168e 100644

include/linux/pm_runtime.h static inline int pm_runtime_set_active(struct device *dev)

Quoted 9 lines
include/linux/pm_runtime.h +1 -2
@@ -479,7 +479,7 @@ static inline int pm_runtime_set_active(struct device *dev)
 }
 
 /**
- * pm_runtime_set_suspended - Set runtime PM status to "active".
+ * pm_runtime_set_suspended - Set runtime PM status to "suspended".
  * @dev: Target device.
  *
  * Set the runtime PM status of @dev to %RPM_SUSPENDED and ensure that
--

Applied as 5.10-rc material with edited subject, thanks!