diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-04 21:13:33 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-04 21:13:33 +0000 |
commit | f538ed735dbd437ed99b9a22368c2c70f5cf0db2 (patch) | |
tree | d7af7ed03afe03f1780f73d54a897faec4d3d835 | |
parent | d8c90a34d26e8cef97a9eb86154d887b086ed42b (diff) | |
download | mediapointer-dvb-s2-f538ed735dbd437ed99b9a22368c2c70f5cf0db2.tar.gz mediapointer-dvb-s2-f538ed735dbd437ed99b9a22368c2c70f5cf0db2.tar.bz2 |
pvrusb2: Drop client_register/unregister stubs
From: Jean Delvare <khali@linux-fr.org>
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: Jean Delvare <khali@linux-fr.org>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c index fde4d3bd1..919a4f4e1 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-i2c-core.c @@ -595,16 +595,6 @@ static u32 pvr2_i2c_functionality(struct i2c_adapter *adap) 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 = { .master_xfer = pvr2_i2c_xfer, .functionality = pvr2_i2c_functionality, @@ -617,8 +607,6 @@ static struct i2c_adapter pvr2_i2c_adap_template = { .owner = THIS_MODULE, .class = 0, .id = I2C_HW_B_BT848, - .client_register = pvr2_i2c_attach_inform, - .client_unregister = pvr2_i2c_detach_inform, }; |