aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/qos.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/qos.c')
-rw-r--r--kernel/power/qos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/qos.c b/kernel/power/qos.c
index 2ab2819aee65..9322ff7eaad6 100644
--- a/kernel/power/qos.c
+++ b/kernel/power/qos.c
@@ -563,7 +563,7 @@ static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf,
563 } else { 563 } else {
564 ascii_value[count] = '\0'; 564 ascii_value[count] = '\0';
565 } 565 }
566 ret = strict_strtoul(ascii_value, 16, &ulval); 566 ret = kstrtoul(ascii_value, 16, &ulval);
567 if (ret) { 567 if (ret) {
568 pr_debug("%s, 0x%lx, 0x%x\n", ascii_value, ulval, ret); 568 pr_debug("%s, 0x%lx, 0x%x\n", ascii_value, ulval, ret);
569 return -EINVAL; 569 return -EINVAL;