diff options
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index 9464862745fa..9af282f9e765 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | |||
@@ -520,16 +520,6 @@ static u32 pvr2_i2c_functionality(struct i2c_adapter *adap) | |||
520 | return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; | 520 | return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; |
521 | } | 521 | } |
522 | 522 | ||
523 | static int pvr2_i2c_attach_inform(struct i2c_client *client) | ||
524 | { | ||
525 | return 0; | ||
526 | } | ||
527 | |||
528 | static int pvr2_i2c_detach_inform(struct i2c_client *client) | ||
529 | { | ||
530 | return 0; | ||
531 | } | ||
532 | |||
533 | static struct i2c_algorithm pvr2_i2c_algo_template = { | 523 | static struct i2c_algorithm pvr2_i2c_algo_template = { |
534 | .master_xfer = pvr2_i2c_xfer, | 524 | .master_xfer = pvr2_i2c_xfer, |
535 | .functionality = pvr2_i2c_functionality, | 525 | .functionality = pvr2_i2c_functionality, |
@@ -539,8 +529,6 @@ static struct i2c_adapter pvr2_i2c_adap_template = { | |||
539 | .owner = THIS_MODULE, | 529 | .owner = THIS_MODULE, |
540 | .class = 0, | 530 | .class = 0, |
541 | .id = I2C_HW_B_BT848, | 531 | .id = I2C_HW_B_BT848, |
542 | .client_register = pvr2_i2c_attach_inform, | ||
543 | .client_unregister = pvr2_i2c_detach_inform, | ||
544 | }; | 532 | }; |
545 | 533 | ||
546 | 534 | ||