diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-29 15:46:48 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-29 15:46:48 -0500 |
commit | 170bb4c800d2b65df52f37400fb20276273650d8 (patch) | |
tree | 86ff97efaeeac6e8533feb4899ec674ddbc0a065 /kernel/power/qos.c | |
parent | 64adb0192ff309051492b34139bb842024ebb119 (diff) | |
parent | e5f5762177be52fde50ccba88938d66b5103c8e0 (diff) |
Merge branch 'pm-sleep'
* pm-sleep:
PM / Freezer: Fixup compile error of try_to_freeze_nowarn()
driver core / PM: move the calling to device_pm_remove behind the calling to bus_remove_device
PM / Hibernate: use rb_entry
PM / sysfs: replace strict_str* with kstrto*
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 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; |