Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jean Delvare and committed by
Jean Delvare
cdeec3cc 3be27d37

-7
-7
drivers/media/video/cx23885/cx23885-i2c.c
··· 272 272 i2c_clients_command(&bus->i2c_adap, cmd, arg); 273 273 } 274 274 275 - static int cx23885_algo_control(struct i2c_adapter *adap, 276 - unsigned int cmd, unsigned long arg) 277 - { 278 - return 0; 279 - } 280 - 281 275 static u32 cx23885_functionality(struct i2c_adapter *adap) 282 276 { 283 277 return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; ··· 279 285 280 286 static struct i2c_algorithm cx23885_i2c_algo_template = { 281 287 .master_xfer = i2c_xfer, 282 - .algo_control = cx23885_algo_control, 283 288 .functionality = cx23885_functionality, 284 289 }; 285 290