summaryrefslogtreecommitdiff
path: root/drivers/devfreq/governor_userspace.c
diff options
context:
space:
mode:
authorpierre Kuo <vichy.kuo@gmail.com>2020-01-23 18:59:12 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2020-03-25 02:35:03 +0300
commit4bb1faaccfded8b2755c052f0e2156780f825ded (patch)
tree189414758bb120a4879ca3a77c076c101224a7ad /drivers/devfreq/governor_userspace.c
parent16fbf79b0f83bc752cee8589279f1ebfe57b3b6e (diff)
downloadlinux-4bb1faaccfded8b2755c052f0e2156780f825ded.tar.xz
PM / devfreq: Use constant name of userspace governor
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>
Diffstat (limited to 'drivers/devfreq/governor_userspace.c')
-rw-r--r--drivers/devfreq/governor_userspace.c2
1 files changed, 1 insertions, 1 deletions
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,
};