Re: [PATCH] PM / devfreq: use constant name of userspace governor

From: Chanwoo Choi
Date: Tue Jan 28 2020 - 06:40:44 EST


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@xxxxxxxxx>
> ---
> 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