lkml.org 
[lkml]   [2020]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] PM / devfreq: use constant name of userspace governor
From
Date
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

\
 
 \ /
  Last update: 2020-01-28 12:41    [W:0.048 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site