diff options
author | Daniel Walter <sahne@0x90.at> | 2012-10-23 01:20:35 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:37:08 +0100 |
commit | 883ee4f79d636d13f24c2479c66d42cb652b0239 (patch) | |
tree | 4fb2bf51ac968f6ee1118d3cb4da4ece79a6fafb /kernel/power/qos.c | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff) | |
download | lwn-883ee4f79d636d13f24c2479c66d42cb652b0239.tar.gz lwn-883ee4f79d636d13f24c2479c66d42cb652b0239.zip |
PM / sysfs: replace strict_str* with kstrto*
Replace strict_strtoul() with kstrtoul() in pm_async_store() and
pm_qos_power_write().
[rjw: Modified subject and changelog.]
Signed-off-by: Daniel Walter <sahne@0x90.at>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power/qos.c')
-rw-r--r-- | kernel/power/qos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/qos.c b/kernel/power/qos.c index 846bd42c7ed1..4da05cee81bf 100644 --- a/kernel/power/qos.c +++ b/kernel/power/qos.c @@ -500,7 +500,7 @@ static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf, } else { ascii_value[count] = '\0'; } - ret = strict_strtoul(ascii_value, 16, &ulval); + ret = kstrtoul(ascii_value, 16, &ulval); if (ret) { pr_debug("%s, 0x%lx, 0x%x\n", ascii_value, ulval, ret); return -EINVAL; |