mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	clk: wm831x: get rid of the implementation of remove function
The remove function implemented for platform driver's remove callback just return 0 as part of its implementation. Remove this APIs and do not pass the valid .remove for platform driver. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Mark Brown <broonie@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
This commit is contained in:
		
							parent
							
								
									da0f0b2c3a
								
							
						
					
					
						commit
						9294778981
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -391,14 +391,8 @@ static int wm831x_clk_probe(struct platform_device *pdev) | ||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static int wm831x_clk_remove(struct platform_device *pdev) |  | ||||||
| { |  | ||||||
| 	return 0; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| static struct platform_driver wm831x_clk_driver = { | static struct platform_driver wm831x_clk_driver = { | ||||||
| 	.probe = wm831x_clk_probe, | 	.probe = wm831x_clk_probe, | ||||||
| 	.remove = wm831x_clk_remove, |  | ||||||
| 	.driver		= { | 	.driver		= { | ||||||
| 		.name	= "wm831x-clk", | 		.name	= "wm831x-clk", | ||||||
| 		.owner	= THIS_MODULE, | 		.owner	= THIS_MODULE, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Laxman Dewangan
						Laxman Dewangan