PM / devfreq: Use constant name of userspace governor
authorpierre Kuo <vichy.kuo@gmail.com>
Thu, 23 Jan 2020 15:59:12 +0000 (23:59 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 24 Mar 2020 23:35:03 +0000 (08:35 +0900)
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>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/governor_userspace.c

index af94942fcf955416f2e89b92ac3d5da2f063a63d..0fd6c48510711c7fe579b7baf2377267af035689 100644 (file)
@@ -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,
 };