mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	usb: renesas_usbhs: Use SIMPLE_DEV_PM_OPS macro
This patch uses SIMPLE_DEV_PM_OPS macro instead of struct dev_pm_ops directly. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
		
							parent
							
								
									b01828e260
								
							
						
					
					
						commit
						d54d334e75
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -874,10 +874,7 @@ static int usbhsc_resume(struct device *dev)
 | 
			
		|||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static const struct dev_pm_ops usbhsc_pm_ops = {
 | 
			
		||||
	.suspend		= usbhsc_suspend,
 | 
			
		||||
	.resume			= usbhsc_resume,
 | 
			
		||||
};
 | 
			
		||||
static SIMPLE_DEV_PM_OPS(usbhsc_pm_ops, usbhsc_suspend, usbhsc_resume);
 | 
			
		||||
 | 
			
		||||
static struct platform_driver renesas_usbhs_driver = {
 | 
			
		||||
	.driver		= {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue