Commit 2a2bfbff authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (6766): ivtv: remove i2c legacy support from drivers that no longer need it

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent d9009201
...@@ -36,10 +36,6 @@ MODULE_DESCRIPTION("i2c device driver for m52790 A/V switch"); ...@@ -36,10 +36,6 @@ MODULE_DESCRIPTION("i2c device driver for m52790 A/V switch");
MODULE_AUTHOR("Hans Verkuil"); MODULE_AUTHOR("Hans Verkuil");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static unsigned short normal_i2c[] = { 0x90 >> 1, I2C_CLIENT_END };
I2C_CLIENT_INSMOD;
struct m52790_state { struct m52790_state {
u16 input; u16 input;
......
...@@ -69,10 +69,6 @@ module_param(test_image, int, 0644); ...@@ -69,10 +69,6 @@ module_param(test_image, int, 0644);
MODULE_PARM_DESC(debug, "debug level (0-2)"); MODULE_PARM_DESC(debug, "debug level (0-2)");
MODULE_PARM_DESC(test_image, "test_image (0-1)"); MODULE_PARM_DESC(test_image, "test_image (0-1)");
static unsigned short normal_i2c[] = { 0x88 >> 1, I2C_CLIENT_END };
I2C_CLIENT_INSMOD;
/* /*
* SAA7127 registers * SAA7127 registers
......
...@@ -49,10 +49,6 @@ module_param(debug, int, 0644); ...@@ -49,10 +49,6 @@ module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Debug level (0-1)"); MODULE_PARM_DESC(debug, "Debug level (0-1)");
static unsigned short normal_i2c[] = { 0x24 >> 1, 0x26 >> 1, I2C_CLIENT_END };
I2C_CLIENT_INSMOD;
enum { enum {
R00 = 0, R01, R02, R03, R04, R00 = 0, R01, R02, R03, R04,
......
...@@ -39,10 +39,6 @@ module_param(debug, bool, 0644); ...@@ -39,10 +39,6 @@ module_param(debug, bool, 0644);
MODULE_PARM_DESC(debug, "Debug level (0-1)"); MODULE_PARM_DESC(debug, "Debug level (0-1)");
static unsigned short normal_i2c[] = { 0xb8 >> 1, 0xba >> 1, I2C_CLIENT_END };
I2C_CLIENT_INSMOD;
enum { enum {
R00 = 0, R01, R02, R03, R04, R00 = 0, R01, R02, R03, R04,
......
...@@ -36,10 +36,6 @@ MODULE_DESCRIPTION("vp27smpx driver"); ...@@ -36,10 +36,6 @@ MODULE_DESCRIPTION("vp27smpx driver");
MODULE_AUTHOR("Hans Verkuil"); MODULE_AUTHOR("Hans Verkuil");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static unsigned short normal_i2c[] = { 0xb6 >> 1, I2C_CLIENT_END };
I2C_CLIENT_INSMOD;
/* ----------------------------------------------------------------------- */ /* ----------------------------------------------------------------------- */
......
...@@ -37,15 +37,12 @@ MODULE_AUTHOR("T. Adachi, Hans Verkuil"); ...@@ -37,15 +37,12 @@ MODULE_AUTHOR("T. Adachi, Hans Verkuil");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static int debug; static int debug;
static unsigned short normal_i2c[] = { 0x34 >> 1, 0x36 >> 1, I2C_CLIENT_END };
module_param(debug, int, 0644); module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Debug level (0-1)"); MODULE_PARM_DESC(debug, "Debug level (0-1)");
I2C_CLIENT_INSMOD;
/* ------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------ */
enum { enum {
......
...@@ -34,7 +34,6 @@ struct v4l2_i2c_driver_data { ...@@ -34,7 +34,6 @@ struct v4l2_i2c_driver_data {
}; };
static struct v4l2_i2c_driver_data v4l2_i2c_data; static struct v4l2_i2c_driver_data v4l2_i2c_data;
static struct i2c_client_address_data addr_data;
static struct i2c_driver v4l2_i2c_driver; static struct i2c_driver v4l2_i2c_driver;
......
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