mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-30 18:47:25 +00:00 
			
		
		
		
	cx23885: Drop empty i2c algorithm control callback
i2c_algorithm.algo_control is about to be removed. Signed-off-by: Jean Delvare <khali@linux-fr.org> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
		
							parent
							
								
									3be27d37c2
								
							
						
					
					
						commit
						cdeec3cc79
					
				| @ -272,12 +272,6 @@ void cx23885_call_i2c_clients(struct cx23885_i2c *bus, | ||||
| 	i2c_clients_command(&bus->i2c_adap, cmd, arg); | ||||
| } | ||||
| 
 | ||||
| static int cx23885_algo_control(struct i2c_adapter *adap, | ||||
| 				unsigned int cmd, unsigned long arg) | ||||
| { | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| static u32 cx23885_functionality(struct i2c_adapter *adap) | ||||
| { | ||||
| 	return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; | ||||
| @ -285,7 +279,6 @@ static u32 cx23885_functionality(struct i2c_adapter *adap) | ||||
| 
 | ||||
| static struct i2c_algorithm cx23885_i2c_algo_template = { | ||||
| 	.master_xfer	= i2c_xfer, | ||||
| 	.algo_control	= cx23885_algo_control, | ||||
| 	.functionality	= cx23885_functionality, | ||||
| }; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jean Delvare
						Jean Delvare