mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	power_state: remove it from driver core
power_state is scheduled for removal, and it is used only for debug prints by driver core. Remove it. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
		
							parent
							
								
									0c81eed4b9
								
							
						
					
					
						commit
						35d313b874
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
					@ -377,11 +377,6 @@ static int suspend_device(struct device *dev, pm_message_t state)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	down(&dev->sem);
 | 
						down(&dev->sem);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (dev->power.power_state.event) {
 | 
					 | 
				
			||||||
		dev_dbg(dev, "PM: suspend %d-->%d\n",
 | 
					 | 
				
			||||||
			dev->power.power_state.event, state.event);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	if (dev->class && dev->class->suspend) {
 | 
						if (dev->class && dev->class->suspend) {
 | 
				
			||||||
		suspend_device_dbg(dev, state, "class ");
 | 
							suspend_device_dbg(dev, state, "class ");
 | 
				
			||||||
		error = dev->class->suspend(dev, state);
 | 
							error = dev->class->suspend(dev, state);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue