mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	regulator: core: remove unused rdev_get_supply()
This is a remnant of commit 70a7fb80e8 ("regulator: core: Fix nested
locking of supplies").
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									d422234f17
								
							
						
					
					
						commit
						075ddd7568
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		|  | @ -143,14 +143,6 @@ static bool regulator_ops_is_valid(struct regulator_dev *rdev, int ops) | |||
| 	return false; | ||||
| } | ||||
| 
 | ||||
| static inline struct regulator_dev *rdev_get_supply(struct regulator_dev *rdev) | ||||
| { | ||||
| 	if (rdev && rdev->supply) | ||||
| 		return rdev->supply->rdev; | ||||
| 
 | ||||
| 	return NULL; | ||||
| } | ||||
| 
 | ||||
| /**
 | ||||
|  * regulator_lock_nested - lock a single regulator | ||||
|  * @rdev:		regulator source | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Masahiro Yamada
						Masahiro Yamada