2020-10-21 08:13:54

by Bean Huo

[permalink] [raw]
Subject: [PATCH] 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().

Signed-off-by: Bean Huo <[email protected]>
---
include/linux/pm_runtime.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
index 6245caa18034..18b02dcc168e 100644
--- a/include/linux/pm_runtime.h
+++ b/include/linux/pm_runtime.h
@@ -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
--
2.17.1


2020-10-21 09:02:01

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] PM: Fix typo in pm_runtime_set_active() helper comment

On Tue, Oct 20, 2020 at 5:00 PM Bean Huo <[email protected]> wrote:
>
> From: Bean Huo <[email protected]>
>
> This patch is to fix typo in the comment of helper pm_runtime_set_active().
>
> Signed-off-by: Bean Huo <[email protected]>
> ---
> include/linux/pm_runtime.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
> index 6245caa18034..18b02dcc168e 100644
> --- a/include/linux/pm_runtime.h
> +++ b/include/linux/pm_runtime.h
> @@ -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!