mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	pwm: lp3943: Consistently name pwm_chip variables "chip"
Most variables holding a pointer to a pwm_chip are called "chip" which is also the usual name in most other PWM drivers. Rename the single variable that have a different name to be called "chip", too, for consistency. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
		
							parent
							
								
									5996cdf132
								
							
						
					
					
						commit
						1425c40189
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -24,9 +24,9 @@ struct lp3943_pwm {
 | 
			
		|||
	struct lp3943_platform_data *pdata;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static inline struct lp3943_pwm *to_lp3943_pwm(struct pwm_chip *_chip)
 | 
			
		||||
static inline struct lp3943_pwm *to_lp3943_pwm(struct pwm_chip *chip)
 | 
			
		||||
{
 | 
			
		||||
	return container_of(_chip, struct lp3943_pwm, chip);
 | 
			
		||||
	return container_of(chip, struct lp3943_pwm, chip);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static struct lp3943_pwm_map *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue