Commit 6c4b7557 authored by Jean Delvare's avatar Jean Delvare Committed by Mauro Carvalho Chehab

V4L/DVB (11437): pvrusb2: Drop client_register/unregister stubs

The client_register and client_unregister methods are optional so
there is no point in defining stub ones. Especially when these methods
are likely to be removed soon.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b466248d
...@@ -520,16 +520,6 @@ static u32 pvr2_i2c_functionality(struct i2c_adapter *adap) ...@@ -520,16 +520,6 @@ static u32 pvr2_i2c_functionality(struct i2c_adapter *adap)
return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C; return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C;
} }
static int pvr2_i2c_attach_inform(struct i2c_client *client)
{
return 0;
}
static int pvr2_i2c_detach_inform(struct i2c_client *client)
{
return 0;
}
static struct i2c_algorithm pvr2_i2c_algo_template = { static struct i2c_algorithm pvr2_i2c_algo_template = {
.master_xfer = pvr2_i2c_xfer, .master_xfer = pvr2_i2c_xfer,
.functionality = pvr2_i2c_functionality, .functionality = pvr2_i2c_functionality,
...@@ -539,8 +529,6 @@ static struct i2c_adapter pvr2_i2c_adap_template = { ...@@ -539,8 +529,6 @@ static struct i2c_adapter pvr2_i2c_adap_template = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.class = 0, .class = 0,
.id = I2C_HW_B_BT848, .id = I2C_HW_B_BT848,
.client_register = pvr2_i2c_attach_inform,
.client_unregister = pvr2_i2c_detach_inform,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment