浏览代码

[CPUFREQ] Remove trailing whitespace before \n's in printks.

From: Denis Vlasenko <vda@ilport.com.ua>
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones 20 年之前
父节点
当前提交
52c18fd2dc
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      arch/i386/kernel/cpu/cpufreq/longhaul.c
  2. 1 1
      arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c

+ 2 - 2
arch/i386/kernel/cpu/cpufreq/longhaul.c

@@ -473,11 +473,11 @@ static void __init longhaul_setup_voltagescaling(void)
 	}
 	}
 
 
 	if (vrmrev==0) {
 	if (vrmrev==0) {
-		dprintk ("VRM 8.5 \n");
+		dprintk ("VRM 8.5\n");
 		memcpy (voltage_table, vrm85scales, sizeof(voltage_table));
 		memcpy (voltage_table, vrm85scales, sizeof(voltage_table));
 		numvscales = (voltage_table[maxvid]-voltage_table[minvid])/25;
 		numvscales = (voltage_table[maxvid]-voltage_table[minvid])/25;
 	} else {
 	} else {
-		dprintk ("Mobile VRM \n");
+		dprintk ("Mobile VRM\n");
 		memcpy (voltage_table, mobilevrmscales, sizeof(voltage_table));
 		memcpy (voltage_table, mobilevrmscales, sizeof(voltage_table));
 		numvscales = (voltage_table[maxvid]-voltage_table[minvid])/5;
 		numvscales = (voltage_table[maxvid]-voltage_table[minvid])/5;
 	}
 	}

+ 1 - 1
arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c

@@ -259,7 +259,7 @@ static int centrino_cpu_init_table(struct cpufreq_policy *policy)
 
 
 	if (model->op_points == NULL) {
 	if (model->op_points == NULL) {
 		/* Matched a non-match */
 		/* Matched a non-match */
-		dprintk(KERN_INFO PFX "no table support for CPU model \"%s\": \n",
+		dprintk(KERN_INFO PFX "no table support for CPU model \"%s\"\n",
 		       cpu->x86_model_id);
 		       cpu->x86_model_id);
 #ifndef CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI
 #ifndef CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI
 		dprintk(KERN_INFO PFX "try compiling with CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI enabled\n");
 		dprintk(KERN_INFO PFX "try compiling with CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI enabled\n");