Commit 701e8ea4 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Fix up deprecation notices.

From: Pavel Machek <pavel@ucw.cz>
- Add missing newlines
- 80-column goodness.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent ec67952b
...@@ -174,7 +174,9 @@ cpufreq_procctl(ctl_table *ctl, int write, struct file *filp, ...@@ -174,7 +174,9 @@ cpufreq_procctl(ctl_table *ctl, int write, struct file *filp,
if (!warning_print) { if (!warning_print) {
warning_print++; warning_print++;
printk(KERN_INFO "Access to /proc/sys/cpu/ is deprecated and will be removed from (new) 2.6. kernels soon after 2005-01-01"); printk(KERN_INFO "Access to /proc/sys/cpu/ is deprecated and "
"will be removed from (new) 2.6. kernels soon "
"after 2005-01-01\n");
} }
if (write) { if (write) {
...@@ -214,7 +216,9 @@ cpufreq_sysctl(ctl_table *table, int __user *name, int nlen, ...@@ -214,7 +216,9 @@ cpufreq_sysctl(ctl_table *table, int __user *name, int nlen,
if (!warning_print) { if (!warning_print) {
warning_print++; warning_print++;
printk(KERN_INFO "Access to /proc/sys/cpu/ is deprecated and will be removed from (new) 2.6. kernels soon after 2005-01-01"); printk(KERN_INFO "Access to /proc/sys/cpu/ is deprecated and "
"will be removed from (new) 2.6. kernels soon "
"after 2005-01-01\n");
} }
if (oldval && oldlenp) { if (oldval && oldlenp) {
......
...@@ -115,7 +115,9 @@ static int cpufreq_proc_read ( ...@@ -115,7 +115,9 @@ static int cpufreq_proc_read (
if (!warning_print) { if (!warning_print) {
warning_print++; warning_print++;
printk(KERN_INFO "Access to /proc/cpufreq is deprecated and will be removed from (new) 2.6. kernels soon after 2005-01-01"); printk(KERN_INFO "Access to /proc/cpufreq is deprecated and "
"will be removed from (new) 2.6. kernels soon "
"after 2005-01-01\n");
} }
p += sprintf(p, " minimum CPU frequency - maximum CPU frequency - policy\n"); p += sprintf(p, " minimum CPU frequency - maximum CPU frequency - policy\n");
...@@ -190,7 +192,9 @@ static int cpufreq_proc_write ( ...@@ -190,7 +192,9 @@ static int cpufreq_proc_write (
if (!warning_print) { if (!warning_print) {
warning_print++; warning_print++;
printk(KERN_INFO "Access to /proc/cpufreq is deprecated and will be removed from (new) 2.6. kernels soon after 2005-01-01"); printk(KERN_INFO "Access to /proc/cpufreq is deprecated and "
"will be removed from (new) 2.6. kernels soon "
"after 2005-01-01\n");
} }
proc_string[count] = '\0'; proc_string[count] = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment