aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/lib/cpuidle.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/cpupower/lib/cpuidle.c')
-rw-r--r--tools/power/cpupower/lib/cpuidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/lib/cpuidle.c b/tools/power/cpupower/lib/cpuidle.c
index 9bd4c7655fdb..852d25462388 100644
--- a/tools/power/cpupower/lib/cpuidle.c
+++ b/tools/power/cpupower/lib/cpuidle.c
@@ -319,7 +319,7 @@ static unsigned int sysfs_cpuidle_read_file(const char *fname, char *buf,
snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname);
- return sysfs_read_file(path, buf, buflen);
+ return cpupower_read_sysfs(path, buf, buflen);
}