diff options
author | Dave Jones <davej@redhat.com> | 2004-08-19 22:23:53 +0100 |
---|---|---|
committer | Dave Jones <davej@delerium.codemonkey.org.uk> | 2004-08-19 22:23:53 +0100 |
commit | 701e8ea4100609c523d65139a0bb0d7b714c1adc (patch) | |
tree | 684314b4238a6b6b3a3d67b050cb09aabfb54c22 /drivers | |
parent | ec67952b12883c3190ce8c4db8eb9875b10d0fc1 (diff) | |
download | history-701e8ea4100609c523d65139a0bb0d7b714c1adc.tar.gz |
[CPUFREQ] Fix up deprecation notices.
From: Pavel Machek <pavel@ucw.cz>
- Add missing newlines
- 80-column goodness.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cpufreq_userspace.c | 8 | ||||
-rw-r--r-- | drivers/cpufreq/proc_intf.c | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/drivers/cpufreq/cpufreq_userspace.c b/drivers/cpufreq/cpufreq_userspace.c index 54536d697a5352..6135e732a7b87e 100644 --- a/drivers/cpufreq/cpufreq_userspace.c +++ b/drivers/cpufreq/cpufreq_userspace.c @@ -174,7 +174,9 @@ cpufreq_procctl(ctl_table *ctl, int write, struct file *filp, if (!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) { @@ -214,7 +216,9 @@ cpufreq_sysctl(ctl_table *table, int __user *name, int nlen, if (!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) { diff --git a/drivers/cpufreq/proc_intf.c b/drivers/cpufreq/proc_intf.c index 67425340b0629f..673977899e50d0 100644 --- a/drivers/cpufreq/proc_intf.c +++ b/drivers/cpufreq/proc_intf.c @@ -115,7 +115,9 @@ static int cpufreq_proc_read ( if (!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"); @@ -190,7 +192,9 @@ static int cpufreq_proc_write ( if (!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'; |