Merge branch 'pm-docs'
[linux-block.git] / include / linux / pm_runtime.h
index 9f09601c465aac7ae154d97c74a2fd4caac0d8c4..2bff6a10095d16a3771c926f44e303395de78854 100644 (file)
@@ -567,6 +567,10 @@ static inline void pm_runtime_disable(struct device *dev)
  * Allow the runtime PM autosuspend mechanism to be used for @dev whenever
  * requested (or "autosuspend" will be handled as direct runtime-suspend for
  * it).
+ *
+ * NOTE: It's important to undo this with pm_runtime_dont_use_autosuspend()
+ * at driver exit time unless your driver initially enabled pm_runtime
+ * with devm_pm_runtime_enable() (which handles it for you).
  */
 static inline void pm_runtime_use_autosuspend(struct device *dev)
 {