linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PM / devfreq: use constant name of userspace governor
@ 2020-01-23 15:59 ` pierre Kuo
  2020-01-28 11:48   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: pierre Kuo @ 2020-01-23 15:59 UTC (permalink / raw)
  To: myungjoo.ham, kyungmin.park, cw00.choi; +Cc: linux-pm, linux-kernel, pierre Kuo

Based on commit aa7c352f9841 ("PM / devfreq: Define the constant governor
name"), use constant name for userspace governor.

Signed-off-by: pierre Kuo <vichy.kuo@gmail.com>
---
 drivers/devfreq/governor_userspace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/devfreq/governor_userspace.c b/drivers/devfreq/governor_userspace.c
index af94942fcf95..0fd6c4851071 100644
--- a/drivers/devfreq/governor_userspace.c
+++ b/drivers/devfreq/governor_userspace.c
@@ -131,7 +131,7 @@ static int devfreq_userspace_handler(struct devfreq *devfreq,
 }
 
 static struct devfreq_governor devfreq_userspace = {
-	.name = "userspace",
+	.name = DEVFREQ_GOV_USERSPACE,
 	.get_target_freq = devfreq_userspace_func,
 	.event_handler = devfreq_userspace_handler,
 };
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PM / devfreq: use constant name of userspace governor
  2020-01-23 15:59 ` [PATCH] PM / devfreq: use constant name of userspace governor pierre Kuo
@ 2020-01-28 11:48   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2020-01-28 11:48 UTC (permalink / raw)
  To: pierre Kuo, myungjoo.ham, kyungmin.park; +Cc: linux-pm, linux-kernel

On 1/24/20 12:59 AM, pierre Kuo wrote:
> Based on commit aa7c352f9841 ("PM / devfreq: Define the constant governor
> name"), use constant name for userspace governor.
> 
> Signed-off-by: pierre Kuo <vichy.kuo@gmail.com>
> ---
>  drivers/devfreq/governor_userspace.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/devfreq/governor_userspace.c b/drivers/devfreq/governor_userspace.c
> index af94942fcf95..0fd6c4851071 100644
> --- a/drivers/devfreq/governor_userspace.c
> +++ b/drivers/devfreq/governor_userspace.c
> @@ -131,7 +131,7 @@ static int devfreq_userspace_handler(struct devfreq *devfreq,
>  }
>  
>  static struct devfreq_governor devfreq_userspace = {
> -	.name = "userspace",
> +	.name = DEVFREQ_GOV_USERSPACE,
>  	.get_target_freq = devfreq_userspace_func,
>  	.event_handler = devfreq_userspace_handler,
>  };
> 

Applied it. Thanks.

-- 
Best Regards,
Chanwoo Choi
Samsung Electronics

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-28 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200123155931epcas1p21de0db0e53438c6f326a5b75bbb69307@epcas1p2.samsung.com>
2020-01-23 15:59 ` [PATCH] PM / devfreq: use constant name of userspace governor pierre Kuo
2020-01-28 11:48   ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).