mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	ACPI processor: remove spurious newline from warning message
Commit 4973b22a ("ACPI processor: reset the throttling state once it's
invalid") introduced a new warning which prints a spurious newline.
The ACPI_WARNING macro that is used already takes care of adding a
newline, after adding ACPI_CA_VERSION to the message. Remove the newline
to avoid the message getting split into two lines.
Signed-off-by: Frans Pop <elendil@planet.nl>
Signed-off-by: Len Brown <len.brown@intel.com>
			
			
This commit is contained in:
		
							parent
							
								
									1fc8d33aca
								
							
						
					
					
						commit
						21671b88be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -840,7 +840,7 @@ static int acpi_processor_get_throttling_ptc(struct acpi_processor *pr)
 | 
				
			||||||
		state = acpi_get_throttling_state(pr, value);
 | 
							state = acpi_get_throttling_state(pr, value);
 | 
				
			||||||
		if (state == -1) {
 | 
							if (state == -1) {
 | 
				
			||||||
			ACPI_WARNING((AE_INFO,
 | 
								ACPI_WARNING((AE_INFO,
 | 
				
			||||||
				"Invalid throttling state, reset\n"));
 | 
									"Invalid throttling state, reset"));
 | 
				
			||||||
			state = 0;
 | 
								state = 0;
 | 
				
			||||||
			ret = acpi_processor_set_throttling(pr, state);
 | 
								ret = acpi_processor_set_throttling(pr, state);
 | 
				
			||||||
			if (ret)
 | 
								if (ret)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue