--- phc-intel-pack-rev21/inc/3.4/linux-phc-0.3.2.patch
+++ phc-intel-pack-rev21/inc/3.4/linux-phc-0.3.2.patch
@@ -55,7 +55,7 @@
  		kfree(data->freq_table);
  		kfree(data);
  	}
-@@ -716,8 +728,470 @@
+@@ -716,8 +728,475 @@
  	return 0;
  }
  
@@ -134,6 +134,7 @@
 +		vid = extract_vid_from_control(acpi_data->states[freq_table[i].index].control);
 +		count += sprintf(&buf[count], "%u ", vid);
 +	}
++	if (count) count--;
 +	count += sprintf(&buf[count], "\n");
 +
 +	return count;
@@ -163,6 +164,7 @@
 +		vid = extract_vid_from_control(data->original_controls[freq_table[i].index]);
 +		count += sprintf(&buf[count], "%u ", vid);
 +	}
++	if (count) count--;
 +	count += sprintf(&buf[count], "\n");
 +
 +	return count;
@@ -189,6 +191,7 @@
 +		fid = extract_fid_from_control(acpi_data->states[freq_table[i].index].control);
 +		count += sprintf(&buf[count], "%u ", fid);
 +	}
++	if (count) count--;
 +	count += sprintf(&buf[count], "\n");
 +
 +	return count;
@@ -217,6 +220,7 @@
 +		vid = extract_vid_from_control(acpi_data->states[freq_table[i].index].control);
 +		count += sprintf(&buf[count], "%u:%u ", fid, vid);
 +	}
++	if (count) count--;
 +	count += sprintf(&buf[count], "\n");
 +
 +	return count;
@@ -248,6 +252,7 @@
 +		vid = extract_vid_from_control(data->original_controls[freq_table[i].index]);
 +		count += sprintf(&buf[count], "%u:%u ", fid, vid);
 +	}
++	if (count) count--;
 +	count += sprintf(&buf[count], "\n");
 +
 +	return count;
