mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	counter: ti-eqep: Convert to counter_priv() wrapper
This is a straight forward conversion to the new counter_priv() wrapper. Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Acked-by: David Lechner <david@lechnology.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20211230150300.72196-11-u.kleine-koenig@pengutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									1f1b40c057
								
							
						
					
					
						commit
						8817c2d03a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -89,7 +89,7 @@ struct ti_eqep_cnt {
 | 
			
		|||
 | 
			
		||||
static struct ti_eqep_cnt *ti_eqep_count_from_counter(struct counter_device *counter)
 | 
			
		||||
{
 | 
			
		||||
	return container_of(counter, struct ti_eqep_cnt, counter);
 | 
			
		||||
	return counter_priv(counter);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int ti_eqep_count_read(struct counter_device *counter,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue