diff options
Diffstat (limited to 'drivers')
84 files changed, 2 insertions, 85 deletions
diff --git a/drivers/acorn/char/pcf8583.c b/drivers/acorn/char/pcf8583.c index e26f007a1417..befc9469b4f2 100644 --- a/drivers/acorn/char/pcf8583.c +++ b/drivers/acorn/char/pcf8583.c | |||
@@ -259,7 +259,6 @@ pcf8583_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
259 | static struct i2c_driver pcf8583_driver = { | 259 | static struct i2c_driver pcf8583_driver = { |
260 | .name = "PCF8583", | 260 | .name = "PCF8583", |
261 | .id = I2C_DRIVERID_PCF8583, | 261 | .id = I2C_DRIVERID_PCF8583, |
262 | .flags = I2C_DF_NOTIFY, | ||
263 | .attach_adapter = pcf8583_probe, | 262 | .attach_adapter = pcf8583_probe, |
264 | .detach_client = pcf8583_detach, | 263 | .detach_client = pcf8583_detach, |
265 | .command = pcf8583_command | 264 | .command = pcf8583_command |
diff --git a/drivers/hwmon/adm1021.c b/drivers/hwmon/adm1021.c index 8102876c7c3f..5e6df4b7b857 100644 --- a/drivers/hwmon/adm1021.c +++ b/drivers/hwmon/adm1021.c | |||
@@ -129,7 +129,6 @@ static struct i2c_driver adm1021_driver = { | |||
129 | .owner = THIS_MODULE, | 129 | .owner = THIS_MODULE, |
130 | .name = "adm1021", | 130 | .name = "adm1021", |
131 | .id = I2C_DRIVERID_ADM1021, | 131 | .id = I2C_DRIVERID_ADM1021, |
132 | .flags = I2C_DF_NOTIFY, | ||
133 | .attach_adapter = adm1021_attach_adapter, | 132 | .attach_adapter = adm1021_attach_adapter, |
134 | .detach_client = adm1021_detach_client, | 133 | .detach_client = adm1021_detach_client, |
135 | }; | 134 | }; |
diff --git a/drivers/hwmon/adm1025.c b/drivers/hwmon/adm1025.c index bf67860e6a20..2be48a7a90b8 100644 --- a/drivers/hwmon/adm1025.c +++ b/drivers/hwmon/adm1025.c | |||
@@ -121,7 +121,6 @@ static struct i2c_driver adm1025_driver = { | |||
121 | .owner = THIS_MODULE, | 121 | .owner = THIS_MODULE, |
122 | .name = "adm1025", | 122 | .name = "adm1025", |
123 | .id = I2C_DRIVERID_ADM1025, | 123 | .id = I2C_DRIVERID_ADM1025, |
124 | .flags = I2C_DF_NOTIFY, | ||
125 | .attach_adapter = adm1025_attach_adapter, | 124 | .attach_adapter = adm1025_attach_adapter, |
126 | .detach_client = adm1025_detach_client, | 125 | .detach_client = adm1025_detach_client, |
127 | }; | 126 | }; |
diff --git a/drivers/hwmon/adm1026.c b/drivers/hwmon/adm1026.c index 5036b17a39cd..5416db809f97 100644 --- a/drivers/hwmon/adm1026.c +++ b/drivers/hwmon/adm1026.c | |||
@@ -310,7 +310,6 @@ static void adm1026_init_client(struct i2c_client *client); | |||
310 | static struct i2c_driver adm1026_driver = { | 310 | static struct i2c_driver adm1026_driver = { |
311 | .owner = THIS_MODULE, | 311 | .owner = THIS_MODULE, |
312 | .name = "adm1026", | 312 | .name = "adm1026", |
313 | .flags = I2C_DF_NOTIFY, | ||
314 | .attach_adapter = adm1026_attach_adapter, | 313 | .attach_adapter = adm1026_attach_adapter, |
315 | .detach_client = adm1026_detach_client, | 314 | .detach_client = adm1026_detach_client, |
316 | }; | 315 | }; |
diff --git a/drivers/hwmon/adm1031.c b/drivers/hwmon/adm1031.c index 7c545d5eee45..1e24428090c4 100644 --- a/drivers/hwmon/adm1031.c +++ b/drivers/hwmon/adm1031.c | |||
@@ -107,7 +107,6 @@ static struct adm1031_data *adm1031_update_device(struct device *dev); | |||
107 | static struct i2c_driver adm1031_driver = { | 107 | static struct i2c_driver adm1031_driver = { |
108 | .owner = THIS_MODULE, | 108 | .owner = THIS_MODULE, |
109 | .name = "adm1031", | 109 | .name = "adm1031", |
110 | .flags = I2C_DF_NOTIFY, | ||
111 | .attach_adapter = adm1031_attach_adapter, | 110 | .attach_adapter = adm1031_attach_adapter, |
112 | .detach_client = adm1031_detach_client, | 111 | .detach_client = adm1031_detach_client, |
113 | }; | 112 | }; |
diff --git a/drivers/hwmon/adm9240.c b/drivers/hwmon/adm9240.c index 11dc95f8a17e..287733fe2c0d 100644 --- a/drivers/hwmon/adm9240.c +++ b/drivers/hwmon/adm9240.c | |||
@@ -140,7 +140,6 @@ static struct i2c_driver adm9240_driver = { | |||
140 | .owner = THIS_MODULE, | 140 | .owner = THIS_MODULE, |
141 | .name = "adm9240", | 141 | .name = "adm9240", |
142 | .id = I2C_DRIVERID_ADM9240, | 142 | .id = I2C_DRIVERID_ADM9240, |
143 | .flags = I2C_DF_NOTIFY, | ||
144 | .attach_adapter = adm9240_attach_adapter, | 143 | .attach_adapter = adm9240_attach_adapter, |
145 | .detach_client = adm9240_detach_client, | 144 | .detach_client = adm9240_detach_client, |
146 | }; | 145 | }; |
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 52c469722a65..7227f800bef9 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c | |||
@@ -220,7 +220,6 @@ static struct i2c_driver asb100_driver = { | |||
220 | .owner = THIS_MODULE, | 220 | .owner = THIS_MODULE, |
221 | .name = "asb100", | 221 | .name = "asb100", |
222 | .id = I2C_DRIVERID_ASB100, | 222 | .id = I2C_DRIVERID_ASB100, |
223 | .flags = I2C_DF_NOTIFY, | ||
224 | .attach_adapter = asb100_attach_adapter, | 223 | .attach_adapter = asb100_attach_adapter, |
225 | .detach_client = asb100_detach_client, | 224 | .detach_client = asb100_detach_client, |
226 | }; | 225 | }; |
diff --git a/drivers/hwmon/atxp1.c b/drivers/hwmon/atxp1.c index 53324f56404e..a60a9f20281b 100644 --- a/drivers/hwmon/atxp1.c +++ b/drivers/hwmon/atxp1.c | |||
@@ -52,7 +52,6 @@ static int atxp1_detect(struct i2c_adapter *adapter, int address, int kind); | |||
52 | static struct i2c_driver atxp1_driver = { | 52 | static struct i2c_driver atxp1_driver = { |
53 | .owner = THIS_MODULE, | 53 | .owner = THIS_MODULE, |
54 | .name = "atxp1", | 54 | .name = "atxp1", |
55 | .flags = I2C_DF_NOTIFY, | ||
56 | .attach_adapter = atxp1_attach_adapter, | 55 | .attach_adapter = atxp1_attach_adapter, |
57 | .detach_client = atxp1_detach_client, | 56 | .detach_client = atxp1_detach_client, |
58 | }; | 57 | }; |
diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c index 34f71b7c7f37..0096eb37c663 100644 --- a/drivers/hwmon/ds1621.c +++ b/drivers/hwmon/ds1621.c | |||
@@ -92,7 +92,6 @@ static struct i2c_driver ds1621_driver = { | |||
92 | .owner = THIS_MODULE, | 92 | .owner = THIS_MODULE, |
93 | .name = "ds1621", | 93 | .name = "ds1621", |
94 | .id = I2C_DRIVERID_DS1621, | 94 | .id = I2C_DRIVERID_DS1621, |
95 | .flags = I2C_DF_NOTIFY, | ||
96 | .attach_adapter = ds1621_attach_adapter, | 95 | .attach_adapter = ds1621_attach_adapter, |
97 | .detach_client = ds1621_detach_client, | 96 | .detach_client = ds1621_detach_client, |
98 | }; | 97 | }; |
diff --git a/drivers/hwmon/fscher.c b/drivers/hwmon/fscher.c index a02e1c34c757..f56ca06dbf88 100644 --- a/drivers/hwmon/fscher.c +++ b/drivers/hwmon/fscher.c | |||
@@ -121,7 +121,6 @@ static struct i2c_driver fscher_driver = { | |||
121 | .owner = THIS_MODULE, | 121 | .owner = THIS_MODULE, |
122 | .name = "fscher", | 122 | .name = "fscher", |
123 | .id = I2C_DRIVERID_FSCHER, | 123 | .id = I2C_DRIVERID_FSCHER, |
124 | .flags = I2C_DF_NOTIFY, | ||
125 | .attach_adapter = fscher_attach_adapter, | 124 | .attach_adapter = fscher_attach_adapter, |
126 | .detach_client = fscher_detach_client, | 125 | .detach_client = fscher_detach_client, |
127 | }; | 126 | }; |
diff --git a/drivers/hwmon/fscpos.c b/drivers/hwmon/fscpos.c index 64e4edc64f8d..701dffc2ceed 100644 --- a/drivers/hwmon/fscpos.c +++ b/drivers/hwmon/fscpos.c | |||
@@ -103,7 +103,6 @@ static struct i2c_driver fscpos_driver = { | |||
103 | .owner = THIS_MODULE, | 103 | .owner = THIS_MODULE, |
104 | .name = "fscpos", | 104 | .name = "fscpos", |
105 | .id = I2C_DRIVERID_FSCPOS, | 105 | .id = I2C_DRIVERID_FSCPOS, |
106 | .flags = I2C_DF_NOTIFY, | ||
107 | .attach_adapter = fscpos_attach_adapter, | 106 | .attach_adapter = fscpos_attach_adapter, |
108 | .detach_client = fscpos_detach_client, | 107 | .detach_client = fscpos_detach_client, |
109 | }; | 108 | }; |
diff --git a/drivers/hwmon/gl518sm.c b/drivers/hwmon/gl518sm.c index 2f178dbe3d87..5788bbb77d8d 100644 --- a/drivers/hwmon/gl518sm.c +++ b/drivers/hwmon/gl518sm.c | |||
@@ -154,7 +154,6 @@ static struct i2c_driver gl518_driver = { | |||
154 | .owner = THIS_MODULE, | 154 | .owner = THIS_MODULE, |
155 | .name = "gl518sm", | 155 | .name = "gl518sm", |
156 | .id = I2C_DRIVERID_GL518, | 156 | .id = I2C_DRIVERID_GL518, |
157 | .flags = I2C_DF_NOTIFY, | ||
158 | .attach_adapter = gl518_attach_adapter, | 157 | .attach_adapter = gl518_attach_adapter, |
159 | .detach_client = gl518_detach_client, | 158 | .detach_client = gl518_detach_client, |
160 | }; | 159 | }; |
diff --git a/drivers/hwmon/gl520sm.c b/drivers/hwmon/gl520sm.c index c39ba1239426..b3998165193d 100644 --- a/drivers/hwmon/gl520sm.c +++ b/drivers/hwmon/gl520sm.c | |||
@@ -112,7 +112,6 @@ static struct i2c_driver gl520_driver = { | |||
112 | .owner = THIS_MODULE, | 112 | .owner = THIS_MODULE, |
113 | .name = "gl520sm", | 113 | .name = "gl520sm", |
114 | .id = I2C_DRIVERID_GL520, | 114 | .id = I2C_DRIVERID_GL520, |
115 | .flags = I2C_DF_NOTIFY, | ||
116 | .attach_adapter = gl520_attach_adapter, | 115 | .attach_adapter = gl520_attach_adapter, |
117 | .detach_client = gl520_detach_client, | 116 | .detach_client = gl520_detach_client, |
118 | }; | 117 | }; |
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index a61f5d00f10a..d5f0d92378c5 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -237,7 +237,6 @@ static struct i2c_driver it87_driver = { | |||
237 | .owner = THIS_MODULE, | 237 | .owner = THIS_MODULE, |
238 | .name = "it87", | 238 | .name = "it87", |
239 | .id = I2C_DRIVERID_IT87, | 239 | .id = I2C_DRIVERID_IT87, |
240 | .flags = I2C_DF_NOTIFY, | ||
241 | .attach_adapter = it87_attach_adapter, | 240 | .attach_adapter = it87_attach_adapter, |
242 | .detach_client = it87_detach_client, | 241 | .detach_client = it87_detach_client, |
243 | }; | 242 | }; |
diff --git a/drivers/hwmon/lm63.c b/drivers/hwmon/lm63.c index 954ec2497249..c2dd4ac8042d 100644 --- a/drivers/hwmon/lm63.c +++ b/drivers/hwmon/lm63.c | |||
@@ -141,7 +141,6 @@ static void lm63_init_client(struct i2c_client *client); | |||
141 | static struct i2c_driver lm63_driver = { | 141 | static struct i2c_driver lm63_driver = { |
142 | .owner = THIS_MODULE, | 142 | .owner = THIS_MODULE, |
143 | .name = "lm63", | 143 | .name = "lm63", |
144 | .flags = I2C_DF_NOTIFY, | ||
145 | .attach_adapter = lm63_attach_adapter, | 144 | .attach_adapter = lm63_attach_adapter, |
146 | .detach_client = lm63_detach_client, | 145 | .detach_client = lm63_detach_client, |
147 | }; | 146 | }; |
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index d70f4c8fc1e6..0bcbd6515139 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c | |||
@@ -69,7 +69,6 @@ static struct i2c_driver lm75_driver = { | |||
69 | .owner = THIS_MODULE, | 69 | .owner = THIS_MODULE, |
70 | .name = "lm75", | 70 | .name = "lm75", |
71 | .id = I2C_DRIVERID_LM75, | 71 | .id = I2C_DRIVERID_LM75, |
72 | .flags = I2C_DF_NOTIFY, | ||
73 | .attach_adapter = lm75_attach_adapter, | 72 | .attach_adapter = lm75_attach_adapter, |
74 | .detach_client = lm75_detach_client, | 73 | .detach_client = lm75_detach_client, |
75 | }; | 74 | }; |
diff --git a/drivers/hwmon/lm77.c b/drivers/hwmon/lm77.c index 9380fda7dcd1..6a524e92432e 100644 --- a/drivers/hwmon/lm77.c +++ b/drivers/hwmon/lm77.c | |||
@@ -76,7 +76,6 @@ static struct lm77_data *lm77_update_device(struct device *dev); | |||
76 | static struct i2c_driver lm77_driver = { | 76 | static struct i2c_driver lm77_driver = { |
77 | .owner = THIS_MODULE, | 77 | .owner = THIS_MODULE, |
78 | .name = "lm77", | 78 | .name = "lm77", |
79 | .flags = I2C_DF_NOTIFY, | ||
80 | .attach_adapter = lm77_attach_adapter, | 79 | .attach_adapter = lm77_attach_adapter, |
81 | .detach_client = lm77_detach_client, | 80 | .detach_client = lm77_detach_client, |
82 | }; | 81 | }; |
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 78cdd506439f..18448f83a6b0 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c | |||
@@ -167,7 +167,6 @@ static struct i2c_driver lm78_driver = { | |||
167 | .owner = THIS_MODULE, | 167 | .owner = THIS_MODULE, |
168 | .name = "lm78", | 168 | .name = "lm78", |
169 | .id = I2C_DRIVERID_LM78, | 169 | .id = I2C_DRIVERID_LM78, |
170 | .flags = I2C_DF_NOTIFY, | ||
171 | .attach_adapter = lm78_attach_adapter, | 170 | .attach_adapter = lm78_attach_adapter, |
172 | .detach_client = lm78_detach_client, | 171 | .detach_client = lm78_detach_client, |
173 | }; | 172 | }; |
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c index c359fdea211e..02303fa0c464 100644 --- a/drivers/hwmon/lm80.c +++ b/drivers/hwmon/lm80.c | |||
@@ -146,7 +146,6 @@ static struct i2c_driver lm80_driver = { | |||
146 | .owner = THIS_MODULE, | 146 | .owner = THIS_MODULE, |
147 | .name = "lm80", | 147 | .name = "lm80", |
148 | .id = I2C_DRIVERID_LM80, | 148 | .id = I2C_DRIVERID_LM80, |
149 | .flags = I2C_DF_NOTIFY, | ||
150 | .attach_adapter = lm80_attach_adapter, | 149 | .attach_adapter = lm80_attach_adapter, |
151 | .detach_client = lm80_detach_client, | 150 | .detach_client = lm80_detach_client, |
152 | }; | 151 | }; |
diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index 9a70611a9f69..96cb34ea2490 100644 --- a/drivers/hwmon/lm83.c +++ b/drivers/hwmon/lm83.c | |||
@@ -127,7 +127,6 @@ static struct i2c_driver lm83_driver = { | |||
127 | .owner = THIS_MODULE, | 127 | .owner = THIS_MODULE, |
128 | .name = "lm83", | 128 | .name = "lm83", |
129 | .id = I2C_DRIVERID_LM83, | 129 | .id = I2C_DRIVERID_LM83, |
130 | .flags = I2C_DF_NOTIFY, | ||
131 | .attach_adapter = lm83_attach_adapter, | 130 | .attach_adapter = lm83_attach_adapter, |
132 | .detach_client = lm83_detach_client, | 131 | .detach_client = lm83_detach_client, |
133 | }; | 132 | }; |
diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c index 3f5544a40f3c..131ecab094ac 100644 --- a/drivers/hwmon/lm85.c +++ b/drivers/hwmon/lm85.c | |||
@@ -383,7 +383,6 @@ static struct i2c_driver lm85_driver = { | |||
383 | .owner = THIS_MODULE, | 383 | .owner = THIS_MODULE, |
384 | .name = "lm85", | 384 | .name = "lm85", |
385 | .id = I2C_DRIVERID_LM85, | 385 | .id = I2C_DRIVERID_LM85, |
386 | .flags = I2C_DF_NOTIFY, | ||
387 | .attach_adapter = lm85_attach_adapter, | 386 | .attach_adapter = lm85_attach_adapter, |
388 | .detach_client = lm85_detach_client, | 387 | .detach_client = lm85_detach_client, |
389 | }; | 388 | }; |
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index eeec18177861..26fd0b33beaf 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -164,7 +164,6 @@ static struct i2c_driver lm87_driver = { | |||
164 | .owner = THIS_MODULE, | 164 | .owner = THIS_MODULE, |
165 | .name = "lm87", | 165 | .name = "lm87", |
166 | .id = I2C_DRIVERID_LM87, | 166 | .id = I2C_DRIVERID_LM87, |
167 | .flags = I2C_DF_NOTIFY, | ||
168 | .attach_adapter = lm87_attach_adapter, | 167 | .attach_adapter = lm87_attach_adapter, |
169 | .detach_client = lm87_detach_client, | 168 | .detach_client = lm87_detach_client, |
170 | }; | 169 | }; |
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index 83cf2e1b09f5..011923b7091d 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c | |||
@@ -189,7 +189,6 @@ static struct i2c_driver lm90_driver = { | |||
189 | .owner = THIS_MODULE, | 189 | .owner = THIS_MODULE, |
190 | .name = "lm90", | 190 | .name = "lm90", |
191 | .id = I2C_DRIVERID_LM90, | 191 | .id = I2C_DRIVERID_LM90, |
192 | .flags = I2C_DF_NOTIFY, | ||
193 | .attach_adapter = lm90_attach_adapter, | 192 | .attach_adapter = lm90_attach_adapter, |
194 | .detach_client = lm90_detach_client, | 193 | .detach_client = lm90_detach_client, |
195 | }; | 194 | }; |
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c index 7a4b3701ed1a..2005a9ee61fb 100644 --- a/drivers/hwmon/lm92.c +++ b/drivers/hwmon/lm92.c | |||
@@ -413,7 +413,6 @@ static struct i2c_driver lm92_driver = { | |||
413 | .owner = THIS_MODULE, | 413 | .owner = THIS_MODULE, |
414 | .name = "lm92", | 414 | .name = "lm92", |
415 | .id = I2C_DRIVERID_LM92, | 415 | .id = I2C_DRIVERID_LM92, |
416 | .flags = I2C_DF_NOTIFY, | ||
417 | .attach_adapter = lm92_attach_adapter, | 416 | .attach_adapter = lm92_attach_adapter, |
418 | .detach_client = lm92_detach_client, | 417 | .detach_client = lm92_detach_client, |
419 | }; | 418 | }; |
diff --git a/drivers/hwmon/max1619.c b/drivers/hwmon/max1619.c index 69e7e125683b..d5aebef126d5 100644 --- a/drivers/hwmon/max1619.c +++ b/drivers/hwmon/max1619.c | |||
@@ -92,7 +92,6 @@ static struct max1619_data *max1619_update_device(struct device *dev); | |||
92 | static struct i2c_driver max1619_driver = { | 92 | static struct i2c_driver max1619_driver = { |
93 | .owner = THIS_MODULE, | 93 | .owner = THIS_MODULE, |
94 | .name = "max1619", | 94 | .name = "max1619", |
95 | .flags = I2C_DF_NOTIFY, | ||
96 | .attach_adapter = max1619_attach_adapter, | 95 | .attach_adapter = max1619_attach_adapter, |
97 | .detach_client = max1619_detach_client, | 96 | .detach_client = max1619_detach_client, |
98 | }; | 97 | }; |
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index ffdb3a03e2b5..a78929f2b3d8 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -272,7 +272,6 @@ static struct i2c_driver w83781d_driver = { | |||
272 | .owner = THIS_MODULE, | 272 | .owner = THIS_MODULE, |
273 | .name = "w83781d", | 273 | .name = "w83781d", |
274 | .id = I2C_DRIVERID_W83781D, | 274 | .id = I2C_DRIVERID_W83781D, |
275 | .flags = I2C_DF_NOTIFY, | ||
276 | .attach_adapter = w83781d_attach_adapter, | 275 | .attach_adapter = w83781d_attach_adapter, |
277 | .detach_client = w83781d_detach_client, | 276 | .detach_client = w83781d_detach_client, |
278 | }; | 277 | }; |
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c index 1ba072630361..6824243d90d7 100644 --- a/drivers/hwmon/w83792d.c +++ b/drivers/hwmon/w83792d.c | |||
@@ -319,7 +319,6 @@ static void w83792d_init_client(struct i2c_client *client); | |||
319 | static struct i2c_driver w83792d_driver = { | 319 | static struct i2c_driver w83792d_driver = { |
320 | .owner = THIS_MODULE, | 320 | .owner = THIS_MODULE, |
321 | .name = "w83792d", | 321 | .name = "w83792d", |
322 | .flags = I2C_DF_NOTIFY, | ||
323 | .attach_adapter = w83792d_attach_adapter, | 322 | .attach_adapter = w83792d_attach_adapter, |
324 | .detach_client = w83792d_detach_client, | 323 | .detach_client = w83792d_detach_client, |
325 | }; | 324 | }; |
diff --git a/drivers/hwmon/w83l785ts.c b/drivers/hwmon/w83l785ts.c index f495b6378668..35172fb455d0 100644 --- a/drivers/hwmon/w83l785ts.c +++ b/drivers/hwmon/w83l785ts.c | |||
@@ -95,7 +95,6 @@ static struct i2c_driver w83l785ts_driver = { | |||
95 | .owner = THIS_MODULE, | 95 | .owner = THIS_MODULE, |
96 | .name = "w83l785ts", | 96 | .name = "w83l785ts", |
97 | .id = I2C_DRIVERID_W83L785TS, | 97 | .id = I2C_DRIVERID_W83L785TS, |
98 | .flags = I2C_DF_NOTIFY, | ||
99 | .attach_adapter = w83l785ts_attach_adapter, | 98 | .attach_adapter = w83l785ts_attach_adapter, |
100 | .detach_client = w83l785ts_detach_client, | 99 | .detach_client = w83l785ts_detach_client, |
101 | }; | 100 | }; |
diff --git a/drivers/i2c/chips/ds1337.c b/drivers/i2c/chips/ds1337.c index 18228957606c..65146cbc8390 100644 --- a/drivers/i2c/chips/ds1337.c +++ b/drivers/i2c/chips/ds1337.c | |||
@@ -54,7 +54,6 @@ static int ds1337_command(struct i2c_client *client, unsigned int cmd, | |||
54 | static struct i2c_driver ds1337_driver = { | 54 | static struct i2c_driver ds1337_driver = { |
55 | .owner = THIS_MODULE, | 55 | .owner = THIS_MODULE, |
56 | .name = "ds1337", | 56 | .name = "ds1337", |
57 | .flags = I2C_DF_NOTIFY, | ||
58 | .attach_adapter = ds1337_attach_adapter, | 57 | .attach_adapter = ds1337_attach_adapter, |
59 | .detach_client = ds1337_detach_client, | 58 | .detach_client = ds1337_detach_client, |
60 | .command = ds1337_command, | 59 | .command = ds1337_command, |
diff --git a/drivers/i2c/chips/ds1374.c b/drivers/i2c/chips/ds1374.c index da488b735abf..5a270d60b699 100644 --- a/drivers/i2c/chips/ds1374.c +++ b/drivers/i2c/chips/ds1374.c | |||
@@ -235,7 +235,6 @@ static struct i2c_driver ds1374_driver = { | |||
235 | .owner = THIS_MODULE, | 235 | .owner = THIS_MODULE, |
236 | .name = DS1374_DRV_NAME, | 236 | .name = DS1374_DRV_NAME, |
237 | .id = I2C_DRIVERID_DS1374, | 237 | .id = I2C_DRIVERID_DS1374, |
238 | .flags = I2C_DF_NOTIFY, | ||
239 | .attach_adapter = ds1374_attach, | 238 | .attach_adapter = ds1374_attach, |
240 | .detach_client = ds1374_detach, | 239 | .detach_client = ds1374_detach, |
241 | }; | 240 | }; |
diff --git a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c index 4baf573fa04f..9bb1f8b3f38c 100644 --- a/drivers/i2c/chips/eeprom.c +++ b/drivers/i2c/chips/eeprom.c | |||
@@ -71,7 +71,6 @@ static struct i2c_driver eeprom_driver = { | |||
71 | .owner = THIS_MODULE, | 71 | .owner = THIS_MODULE, |
72 | .name = "eeprom", | 72 | .name = "eeprom", |
73 | .id = I2C_DRIVERID_EEPROM, | 73 | .id = I2C_DRIVERID_EEPROM, |
74 | .flags = I2C_DF_NOTIFY, | ||
75 | .attach_adapter = eeprom_attach_adapter, | 74 | .attach_adapter = eeprom_attach_adapter, |
76 | .detach_client = eeprom_detach_client, | 75 | .detach_client = eeprom_detach_client, |
77 | }; | 76 | }; |
diff --git a/drivers/i2c/chips/isp1301_omap.c b/drivers/i2c/chips/isp1301_omap.c index d2a100d77839..4f472ba66a02 100644 --- a/drivers/i2c/chips/isp1301_omap.c +++ b/drivers/i2c/chips/isp1301_omap.c | |||
@@ -1636,7 +1636,6 @@ static struct i2c_driver isp1301_driver = { | |||
1636 | .name = "isp1301_omap", | 1636 | .name = "isp1301_omap", |
1637 | .id = 1301, /* FIXME "official", i2c-ids.h */ | 1637 | .id = 1301, /* FIXME "official", i2c-ids.h */ |
1638 | .class = I2C_CLASS_HWMON, | 1638 | .class = I2C_CLASS_HWMON, |
1639 | .flags = I2C_DF_NOTIFY, | ||
1640 | .attach_adapter = isp1301_scan_bus, | 1639 | .attach_adapter = isp1301_scan_bus, |
1641 | .detach_client = isp1301_detach_client, | 1640 | .detach_client = isp1301_detach_client, |
1642 | }; | 1641 | }; |
diff --git a/drivers/i2c/chips/m41t00.c b/drivers/i2c/chips/m41t00.c index 3df309ae44a6..13e67836b348 100644 --- a/drivers/i2c/chips/m41t00.c +++ b/drivers/i2c/chips/m41t00.c | |||
@@ -214,7 +214,6 @@ static struct i2c_driver m41t00_driver = { | |||
214 | .owner = THIS_MODULE, | 214 | .owner = THIS_MODULE, |
215 | .name = M41T00_DRV_NAME, | 215 | .name = M41T00_DRV_NAME, |
216 | .id = I2C_DRIVERID_STM41T00, | 216 | .id = I2C_DRIVERID_STM41T00, |
217 | .flags = I2C_DF_NOTIFY, | ||
218 | .attach_adapter = m41t00_attach, | 217 | .attach_adapter = m41t00_attach, |
219 | .detach_client = m41t00_detach, | 218 | .detach_client = m41t00_detach, |
220 | }; | 219 | }; |
diff --git a/drivers/i2c/chips/max6875.c b/drivers/i2c/chips/max6875.c index b376a006883c..7e61019e72dd 100644 --- a/drivers/i2c/chips/max6875.c +++ b/drivers/i2c/chips/max6875.c | |||
@@ -69,7 +69,6 @@ static int max6875_detach_client(struct i2c_client *client); | |||
69 | static struct i2c_driver max6875_driver = { | 69 | static struct i2c_driver max6875_driver = { |
70 | .owner = THIS_MODULE, | 70 | .owner = THIS_MODULE, |
71 | .name = "max6875", | 71 | .name = "max6875", |
72 | .flags = I2C_DF_NOTIFY, | ||
73 | .attach_adapter = max6875_attach_adapter, | 72 | .attach_adapter = max6875_attach_adapter, |
74 | .detach_client = max6875_detach_client, | 73 | .detach_client = max6875_detach_client, |
75 | }; | 74 | }; |
diff --git a/drivers/i2c/chips/pca9539.c b/drivers/i2c/chips/pca9539.c index 59a930346229..26feb7a4f942 100644 --- a/drivers/i2c/chips/pca9539.c +++ b/drivers/i2c/chips/pca9539.c | |||
@@ -40,7 +40,6 @@ static int pca9539_detach_client(struct i2c_client *client); | |||
40 | static struct i2c_driver pca9539_driver = { | 40 | static struct i2c_driver pca9539_driver = { |
41 | .owner = THIS_MODULE, | 41 | .owner = THIS_MODULE, |
42 | .name = "pca9539", | 42 | .name = "pca9539", |
43 | .flags = I2C_DF_NOTIFY, | ||
44 | .attach_adapter = pca9539_attach_adapter, | 43 | .attach_adapter = pca9539_attach_adapter, |
45 | .detach_client = pca9539_detach_client, | 44 | .detach_client = pca9539_detach_client, |
46 | }; | 45 | }; |
diff --git a/drivers/i2c/chips/pcf8574.c b/drivers/i2c/chips/pcf8574.c index c323c2de236c..2fae640cf329 100644 --- a/drivers/i2c/chips/pcf8574.c +++ b/drivers/i2c/chips/pcf8574.c | |||
@@ -68,7 +68,6 @@ static struct i2c_driver pcf8574_driver = { | |||
68 | .owner = THIS_MODULE, | 68 | .owner = THIS_MODULE, |
69 | .name = "pcf8574", | 69 | .name = "pcf8574", |
70 | .id = I2C_DRIVERID_PCF8574, | 70 | .id = I2C_DRIVERID_PCF8574, |
71 | .flags = I2C_DF_NOTIFY, | ||
72 | .attach_adapter = pcf8574_attach_adapter, | 71 | .attach_adapter = pcf8574_attach_adapter, |
73 | .detach_client = pcf8574_detach_client, | 72 | .detach_client = pcf8574_detach_client, |
74 | }; | 73 | }; |
diff --git a/drivers/i2c/chips/pcf8591.c b/drivers/i2c/chips/pcf8591.c index ce420a67560b..8750f71278e1 100644 --- a/drivers/i2c/chips/pcf8591.c +++ b/drivers/i2c/chips/pcf8591.c | |||
@@ -91,7 +91,6 @@ static struct i2c_driver pcf8591_driver = { | |||
91 | .owner = THIS_MODULE, | 91 | .owner = THIS_MODULE, |
92 | .name = "pcf8591", | 92 | .name = "pcf8591", |
93 | .id = I2C_DRIVERID_PCF8591, | 93 | .id = I2C_DRIVERID_PCF8591, |
94 | .flags = I2C_DF_NOTIFY, | ||
95 | .attach_adapter = pcf8591_attach_adapter, | 94 | .attach_adapter = pcf8591_attach_adapter, |
96 | .detach_client = pcf8591_detach_client, | 95 | .detach_client = pcf8591_detach_client, |
97 | }; | 96 | }; |
diff --git a/drivers/i2c/chips/rtc8564.c b/drivers/i2c/chips/rtc8564.c index 26e498d921da..e586f75dd024 100644 --- a/drivers/i2c/chips/rtc8564.c +++ b/drivers/i2c/chips/rtc8564.c | |||
@@ -362,7 +362,6 @@ static struct i2c_driver rtc8564_driver = { | |||
362 | .owner = THIS_MODULE, | 362 | .owner = THIS_MODULE, |
363 | .name = "RTC8564", | 363 | .name = "RTC8564", |
364 | .id = I2C_DRIVERID_RTC8564, | 364 | .id = I2C_DRIVERID_RTC8564, |
365 | .flags = I2C_DF_NOTIFY, | ||
366 | .attach_adapter = rtc8564_probe, | 365 | .attach_adapter = rtc8564_probe, |
367 | .detach_client = rtc8564_detach, | 366 | .detach_client = rtc8564_detach, |
368 | .command = rtc8564_command | 367 | .command = rtc8564_command |
diff --git a/drivers/i2c/chips/tps65010.c b/drivers/i2c/chips/tps65010.c index 280dd7a45db6..439bf6ceb789 100644 --- a/drivers/i2c/chips/tps65010.c +++ b/drivers/i2c/chips/tps65010.c | |||
@@ -639,7 +639,6 @@ static int __init tps65010_scan_bus(struct i2c_adapter *bus) | |||
639 | static struct i2c_driver tps65010_driver = { | 639 | static struct i2c_driver tps65010_driver = { |
640 | .owner = THIS_MODULE, | 640 | .owner = THIS_MODULE, |
641 | .name = "tps65010", | 641 | .name = "tps65010", |
642 | .flags = I2C_DF_NOTIFY, | ||
643 | .attach_adapter = tps65010_scan_bus, | 642 | .attach_adapter = tps65010_scan_bus, |
644 | .detach_client = __exit_p(tps65010_detach_client), | 643 | .detach_client = __exit_p(tps65010_detach_client), |
645 | }; | 644 | }; |
diff --git a/drivers/i2c/chips/x1205.c b/drivers/i2c/chips/x1205.c index 7da366cdc18c..c5ff2cee15ae 100644 --- a/drivers/i2c/chips/x1205.c +++ b/drivers/i2c/chips/x1205.c | |||
@@ -107,7 +107,6 @@ static int x1205_command(struct i2c_client *client, unsigned int cmd, | |||
107 | static struct i2c_driver x1205_driver = { | 107 | static struct i2c_driver x1205_driver = { |
108 | .owner = THIS_MODULE, | 108 | .owner = THIS_MODULE, |
109 | .name = "x1205", | 109 | .name = "x1205", |
110 | .flags = I2C_DF_NOTIFY, | ||
111 | .attach_adapter = &x1205_attach, | 110 | .attach_adapter = &x1205_attach, |
112 | .detach_client = &x1205_detach, | 111 | .detach_client = &x1205_detach, |
113 | }; | 112 | }; |
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 82ea1b7ec914..ad68ac00d910 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -197,7 +197,7 @@ int i2c_add_adapter(struct i2c_adapter *adap) | |||
197 | /* inform drivers of new adapters */ | 197 | /* inform drivers of new adapters */ |
198 | list_for_each(item,&drivers) { | 198 | list_for_each(item,&drivers) { |
199 | driver = list_entry(item, struct i2c_driver, list); | 199 | driver = list_entry(item, struct i2c_driver, list); |
200 | if (driver->flags & I2C_DF_NOTIFY) | 200 | if (driver->attach_adapter) |
201 | /* We ignore the return code; if it fails, too bad */ | 201 | /* We ignore the return code; if it fails, too bad */ |
202 | driver->attach_adapter(adap); | 202 | driver->attach_adapter(adap); |
203 | } | 203 | } |
@@ -309,7 +309,7 @@ int i2c_add_driver(struct i2c_driver *driver) | |||
309 | pr_debug("i2c-core: driver [%s] registered\n", driver->name); | 309 | pr_debug("i2c-core: driver [%s] registered\n", driver->name); |
310 | 310 | ||
311 | /* now look for instances of driver on our adapters */ | 311 | /* now look for instances of driver on our adapters */ |
312 | if (driver->flags & I2C_DF_NOTIFY) { | 312 | if (driver->attach_adapter) { |
313 | list_for_each(item,&adapters) { | 313 | list_for_each(item,&adapters) { |
314 | adapter = list_entry(item, struct i2c_adapter, list); | 314 | adapter = list_entry(item, struct i2c_adapter, list); |
315 | driver->attach_adapter(adapter); | 315 | driver->attach_adapter(adapter); |
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c index 8af0bd1424d2..9da51eb37c06 100644 --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c | |||
@@ -484,7 +484,6 @@ static struct i2c_driver i2cdev_driver = { | |||
484 | .owner = THIS_MODULE, | 484 | .owner = THIS_MODULE, |
485 | .name = "dev_driver", | 485 | .name = "dev_driver", |
486 | .id = I2C_DRIVERID_I2CDEV, | 486 | .id = I2C_DRIVERID_I2CDEV, |
487 | .flags = I2C_DF_NOTIFY, | ||
488 | .attach_adapter = i2cdev_attach_adapter, | 487 | .attach_adapter = i2cdev_attach_adapter, |
489 | .detach_adapter = i2cdev_detach_adapter, | 488 | .detach_adapter = i2cdev_detach_adapter, |
490 | .detach_client = i2cdev_detach_client, | 489 | .detach_client = i2cdev_detach_client, |
diff --git a/drivers/macintosh/therm_adt746x.c b/drivers/macintosh/therm_adt746x.c index f38696622eb4..f62c16fab42b 100644 --- a/drivers/macintosh/therm_adt746x.c +++ b/drivers/macintosh/therm_adt746x.c | |||
@@ -173,7 +173,6 @@ detach_thermostat(struct i2c_adapter *adapter) | |||
173 | static struct i2c_driver thermostat_driver = { | 173 | static struct i2c_driver thermostat_driver = { |
174 | .owner = THIS_MODULE, | 174 | .owner = THIS_MODULE, |
175 | .name = "therm_adt746x", | 175 | .name = "therm_adt746x", |
176 | .flags = I2C_DF_NOTIFY, | ||
177 | .attach_adapter = attach_thermostat, | 176 | .attach_adapter = attach_thermostat, |
178 | .detach_adapter = detach_thermostat, | 177 | .detach_adapter = detach_thermostat, |
179 | }; | 178 | }; |
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index 190878eef990..df00c960fc5a 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c | |||
@@ -285,7 +285,6 @@ static struct i2c_driver therm_pm72_driver = | |||
285 | { | 285 | { |
286 | .owner = THIS_MODULE, | 286 | .owner = THIS_MODULE, |
287 | .name = "therm_pm72", | 287 | .name = "therm_pm72", |
288 | .flags = I2C_DF_NOTIFY, | ||
289 | .attach_adapter = therm_pm72_attach, | 288 | .attach_adapter = therm_pm72_attach, |
290 | .detach_adapter = therm_pm72_detach, | 289 | .detach_adapter = therm_pm72_detach, |
291 | }; | 290 | }; |
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index 6aaa1df1a64e..f3bae0d00ed2 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -357,7 +357,6 @@ static struct i2c_driver g4fan_driver = { | |||
357 | .owner = THIS_MODULE, | 357 | .owner = THIS_MODULE, |
358 | .name = "therm_windtunnel", | 358 | .name = "therm_windtunnel", |
359 | .id = I2C_DRIVERID_G4FAN, | 359 | .id = I2C_DRIVERID_G4FAN, |
360 | .flags = I2C_DF_NOTIFY, | ||
361 | .attach_adapter = do_attach, | 360 | .attach_adapter = do_attach, |
362 | .detach_client = do_detach, | 361 | .detach_client = do_detach, |
363 | }; | 362 | }; |
diff --git a/drivers/macintosh/windfarm_lm75_sensor.c b/drivers/macintosh/windfarm_lm75_sensor.c index a0a41ad0f2b5..2392789ccf32 100644 --- a/drivers/macintosh/windfarm_lm75_sensor.c +++ b/drivers/macintosh/windfarm_lm75_sensor.c | |||
@@ -49,7 +49,6 @@ static int wf_lm75_detach(struct i2c_client *client); | |||
49 | static struct i2c_driver wf_lm75_driver = { | 49 | static struct i2c_driver wf_lm75_driver = { |
50 | .owner = THIS_MODULE, | 50 | .owner = THIS_MODULE, |
51 | .name = "wf_lm75", | 51 | .name = "wf_lm75", |
52 | .flags = I2C_DF_NOTIFY, | ||
53 | .attach_adapter = wf_lm75_attach, | 52 | .attach_adapter = wf_lm75_attach, |
54 | .detach_client = wf_lm75_detach, | 53 | .detach_client = wf_lm75_detach, |
55 | }; | 54 | }; |
diff --git a/drivers/media/video/adv7170.c b/drivers/media/video/adv7170.c index 1ca2b67aedfb..c4f2265167a2 100644 --- a/drivers/media/video/adv7170.c +++ b/drivers/media/video/adv7170.c | |||
@@ -502,7 +502,6 @@ static struct i2c_driver i2c_driver_adv7170 = { | |||
502 | .name = "adv7170", /* name */ | 502 | .name = "adv7170", /* name */ |
503 | 503 | ||
504 | .id = I2C_DRIVERID_ADV7170, | 504 | .id = I2C_DRIVERID_ADV7170, |
505 | .flags = I2C_DF_NOTIFY, | ||
506 | 505 | ||
507 | .attach_adapter = adv7170_attach_adapter, | 506 | .attach_adapter = adv7170_attach_adapter, |
508 | .detach_client = adv7170_detach_client, | 507 | .detach_client = adv7170_detach_client, |
diff --git a/drivers/media/video/adv7175.c b/drivers/media/video/adv7175.c index 173bca1e0295..4fc08b17d4d0 100644 --- a/drivers/media/video/adv7175.c +++ b/drivers/media/video/adv7175.c | |||
@@ -552,7 +552,6 @@ static struct i2c_driver i2c_driver_adv7175 = { | |||
552 | .name = "adv7175", /* name */ | 552 | .name = "adv7175", /* name */ |
553 | 553 | ||
554 | .id = I2C_DRIVERID_ADV7175, | 554 | .id = I2C_DRIVERID_ADV7175, |
555 | .flags = I2C_DF_NOTIFY, | ||
556 | 555 | ||
557 | .attach_adapter = adv7175_attach_adapter, | 556 | .attach_adapter = adv7175_attach_adapter, |
558 | .detach_client = adv7175_detach_client, | 557 | .detach_client = adv7175_detach_client, |
diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c index 3ee0afca76a7..7bba69793b78 100644 --- a/drivers/media/video/bt819.c +++ b/drivers/media/video/bt819.c | |||
@@ -627,7 +627,6 @@ static struct i2c_driver i2c_driver_bt819 = { | |||
627 | .name = "bt819", | 627 | .name = "bt819", |
628 | 628 | ||
629 | .id = I2C_DRIVERID_BT819, | 629 | .id = I2C_DRIVERID_BT819, |
630 | .flags = I2C_DF_NOTIFY, | ||
631 | 630 | ||
632 | .attach_adapter = bt819_attach_adapter, | 631 | .attach_adapter = bt819_attach_adapter, |
633 | .detach_client = bt819_detach_client, | 632 | .detach_client = bt819_detach_client, |
diff --git a/drivers/media/video/bt832.c b/drivers/media/video/bt832.c index 3ca1d768bfd3..0ba8652357e2 100644 --- a/drivers/media/video/bt832.c +++ b/drivers/media/video/bt832.c | |||
@@ -233,7 +233,6 @@ static struct i2c_driver driver = { | |||
233 | .owner = THIS_MODULE, | 233 | .owner = THIS_MODULE, |
234 | .name = "i2c bt832 driver", | 234 | .name = "i2c bt832 driver", |
235 | .id = -1, /* FIXME */ | 235 | .id = -1, /* FIXME */ |
236 | .flags = I2C_DF_NOTIFY, | ||
237 | .attach_adapter = bt832_probe, | 236 | .attach_adapter = bt832_probe, |
238 | .detach_client = bt832_detach, | 237 | .detach_client = bt832_detach, |
239 | .command = bt832_command, | 238 | .command = bt832_command, |
diff --git a/drivers/media/video/bt856.c b/drivers/media/video/bt856.c index 8eb871d0e85b..4c9acd1e2c70 100644 --- a/drivers/media/video/bt856.c +++ b/drivers/media/video/bt856.c | |||
@@ -409,7 +409,6 @@ static struct i2c_driver i2c_driver_bt856 = { | |||
409 | .name = "bt856", | 409 | .name = "bt856", |
410 | 410 | ||
411 | .id = I2C_DRIVERID_BT856, | 411 | .id = I2C_DRIVERID_BT856, |
412 | .flags = I2C_DF_NOTIFY, | ||
413 | 412 | ||
414 | .attach_adapter = bt856_attach_adapter, | 413 | .attach_adapter = bt856_attach_adapter, |
415 | .detach_client = bt856_detach_client, | 414 | .detach_client = bt856_detach_client, |
diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c index 780b352ec119..fce5d89b7b15 100644 --- a/drivers/media/video/cs53l32a.c +++ b/drivers/media/video/cs53l32a.c | |||
@@ -218,7 +218,6 @@ static int cs53l32a_detach(struct i2c_client *client) | |||
218 | static struct i2c_driver i2c_driver = { | 218 | static struct i2c_driver i2c_driver = { |
219 | .name = "cs53l32a", | 219 | .name = "cs53l32a", |
220 | .id = I2C_DRIVERID_CS53L32A, | 220 | .id = I2C_DRIVERID_CS53L32A, |
221 | .flags = I2C_DF_NOTIFY, | ||
222 | .attach_adapter = cs53l32a_probe, | 221 | .attach_adapter = cs53l32a_probe, |
223 | .detach_client = cs53l32a_detach, | 222 | .detach_client = cs53l32a_detach, |
224 | .command = cs53l32a_command, | 223 | .command = cs53l32a_command, |
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c index 5b93723a1768..c66bc147ee71 100644 --- a/drivers/media/video/cx25840/cx25840-core.c +++ b/drivers/media/video/cx25840/cx25840-core.c | |||
@@ -847,7 +847,6 @@ static struct i2c_driver i2c_driver_cx25840 = { | |||
847 | .name = "cx25840", | 847 | .name = "cx25840", |
848 | 848 | ||
849 | .id = I2C_DRIVERID_CX25840, | 849 | .id = I2C_DRIVERID_CX25840, |
850 | .flags = I2C_DF_NOTIFY, | ||
851 | 850 | ||
852 | .attach_adapter = cx25840_attach_adapter, | 851 | .attach_adapter = cx25840_attach_adapter, |
853 | .detach_client = cx25840_detach_client, | 852 | .detach_client = cx25840_detach_client, |
diff --git a/drivers/media/video/indycam.c b/drivers/media/video/indycam.c index deeef125eb92..3eba514cdb29 100644 --- a/drivers/media/video/indycam.c +++ b/drivers/media/video/indycam.c | |||
@@ -454,7 +454,6 @@ static struct i2c_driver i2c_driver_indycam = { | |||
454 | .owner = THIS_MODULE, | 454 | .owner = THIS_MODULE, |
455 | .name = "indycam", | 455 | .name = "indycam", |
456 | .id = I2C_DRIVERID_INDYCAM, | 456 | .id = I2C_DRIVERID_INDYCAM, |
457 | .flags = I2C_DF_NOTIFY, | ||
458 | .attach_adapter = indycam_probe, | 457 | .attach_adapter = indycam_probe, |
459 | .detach_client = indycam_detach, | 458 | .detach_client = indycam_detach, |
460 | .command = indycam_command, | 459 | .command = indycam_command, |
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c index 740e543311af..2e2f78a4afc8 100644 --- a/drivers/media/video/ir-kbd-i2c.c +++ b/drivers/media/video/ir-kbd-i2c.c | |||
@@ -280,7 +280,6 @@ static int ir_probe(struct i2c_adapter *adap); | |||
280 | static struct i2c_driver driver = { | 280 | static struct i2c_driver driver = { |
281 | .name = "ir remote kbd driver", | 281 | .name = "ir remote kbd driver", |
282 | .id = I2C_DRIVERID_INFRARED, | 282 | .id = I2C_DRIVERID_INFRARED, |
283 | .flags = I2C_DF_NOTIFY, | ||
284 | .attach_adapter = ir_probe, | 283 | .attach_adapter = ir_probe, |
285 | .detach_client = ir_detach, | 284 | .detach_client = ir_detach, |
286 | }; | 285 | }; |
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index d86f8e92e534..46328fb6fe80 100644 --- a/drivers/media/video/msp3400.c +++ b/drivers/media/video/msp3400.c | |||
@@ -1564,7 +1564,6 @@ static struct i2c_driver driver = { | |||
1564 | .owner = THIS_MODULE, | 1564 | .owner = THIS_MODULE, |
1565 | .name = "msp3400", | 1565 | .name = "msp3400", |
1566 | .id = I2C_DRIVERID_MSP3400, | 1566 | .id = I2C_DRIVERID_MSP3400, |
1567 | .flags = I2C_DF_NOTIFY, | ||
1568 | .attach_adapter = msp_probe, | 1567 | .attach_adapter = msp_probe, |
1569 | .detach_client = msp_detach, | 1568 | .detach_client = msp_detach, |
1570 | .command = msp_command, | 1569 | .command = msp_command, |
diff --git a/drivers/media/video/ovcamchip/ovcamchip_core.c b/drivers/media/video/ovcamchip/ovcamchip_core.c index 2de34ebf0673..390d0d6c7838 100644 --- a/drivers/media/video/ovcamchip/ovcamchip_core.c +++ b/drivers/media/video/ovcamchip/ovcamchip_core.c | |||
@@ -414,7 +414,6 @@ static struct i2c_driver driver = { | |||
414 | .name = "ovcamchip", | 414 | .name = "ovcamchip", |
415 | .id = I2C_DRIVERID_OVCAMCHIP, | 415 | .id = I2C_DRIVERID_OVCAMCHIP, |
416 | .class = I2C_CLASS_CAM_DIGITAL, | 416 | .class = I2C_CLASS_CAM_DIGITAL, |
417 | .flags = I2C_DF_NOTIFY, | ||
418 | .attach_adapter = ovcamchip_attach, | 417 | .attach_adapter = ovcamchip_attach, |
419 | .detach_client = ovcamchip_detach, | 418 | .detach_client = ovcamchip_detach, |
420 | .command = ovcamchip_command, | 419 | .command = ovcamchip_command, |
diff --git a/drivers/media/video/saa5246a.c b/drivers/media/video/saa5246a.c index b8054da31ffd..9bf686989aab 100644 --- a/drivers/media/video/saa5246a.c +++ b/drivers/media/video/saa5246a.c | |||
@@ -166,7 +166,6 @@ static struct i2c_driver i2c_driver_videotext = | |||
166 | .owner = THIS_MODULE, | 166 | .owner = THIS_MODULE, |
167 | .name = IF_NAME, /* name */ | 167 | .name = IF_NAME, /* name */ |
168 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ | 168 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ |
169 | .flags = I2C_DF_NOTIFY, | ||
170 | .attach_adapter = saa5246a_probe, | 169 | .attach_adapter = saa5246a_probe, |
171 | .detach_client = saa5246a_detach, | 170 | .detach_client = saa5246a_detach, |
172 | .command = saa5246a_command | 171 | .command = saa5246a_command |
diff --git a/drivers/media/video/saa5249.c b/drivers/media/video/saa5249.c index 7ffa2e9a9bf3..811e86396030 100644 --- a/drivers/media/video/saa5249.c +++ b/drivers/media/video/saa5249.c | |||
@@ -239,7 +239,6 @@ static struct i2c_driver i2c_driver_videotext = | |||
239 | .owner = THIS_MODULE, | 239 | .owner = THIS_MODULE, |
240 | .name = IF_NAME, /* name */ | 240 | .name = IF_NAME, /* name */ |
241 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ | 241 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ |
242 | .flags = I2C_DF_NOTIFY, | ||
243 | .attach_adapter = saa5249_probe, | 242 | .attach_adapter = saa5249_probe, |
244 | .detach_client = saa5249_detach, | 243 | .detach_client = saa5249_detach, |
245 | .command = saa5249_command | 244 | .command = saa5249_command |
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index 923322503e8f..18a0b7143e8b 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c | |||
@@ -498,7 +498,6 @@ static struct i2c_driver driver = { | |||
498 | .owner = THIS_MODULE, | 498 | .owner = THIS_MODULE, |
499 | .name = "i2c saa6588 driver", | 499 | .name = "i2c saa6588 driver", |
500 | .id = -1, /* FIXME */ | 500 | .id = -1, /* FIXME */ |
501 | .flags = I2C_DF_NOTIFY, | ||
502 | .attach_adapter = saa6588_probe, | 501 | .attach_adapter = saa6588_probe, |
503 | .detach_client = saa6588_detach, | 502 | .detach_client = saa6588_detach, |
504 | .command = saa6588_command, | 503 | .command = saa6588_command, |
diff --git a/drivers/media/video/saa7110.c b/drivers/media/video/saa7110.c index e116bdbed310..f266b35ceb35 100644 --- a/drivers/media/video/saa7110.c +++ b/drivers/media/video/saa7110.c | |||
@@ -591,7 +591,6 @@ static struct i2c_driver i2c_driver_saa7110 = { | |||
591 | .name = "saa7110", | 591 | .name = "saa7110", |
592 | 592 | ||
593 | .id = I2C_DRIVERID_SAA7110, | 593 | .id = I2C_DRIVERID_SAA7110, |
594 | .flags = I2C_DF_NOTIFY, | ||
595 | 594 | ||
596 | .attach_adapter = saa7110_attach_adapter, | 595 | .attach_adapter = saa7110_attach_adapter, |
597 | .detach_client = saa7110_detach_client, | 596 | .detach_client = saa7110_detach_client, |
diff --git a/drivers/media/video/saa7111.c b/drivers/media/video/saa7111.c index fe8a5e453969..687beaf11adc 100644 --- a/drivers/media/video/saa7111.c +++ b/drivers/media/video/saa7111.c | |||
@@ -594,7 +594,6 @@ static struct i2c_driver i2c_driver_saa7111 = { | |||
594 | .name = "saa7111", | 594 | .name = "saa7111", |
595 | 595 | ||
596 | .id = I2C_DRIVERID_SAA7111A, | 596 | .id = I2C_DRIVERID_SAA7111A, |
597 | .flags = I2C_DF_NOTIFY, | ||
598 | 597 | ||
599 | .attach_adapter = saa7111_attach_adapter, | 598 | .attach_adapter = saa7111_attach_adapter, |
600 | .detach_client = saa7111_detach_client, | 599 | .detach_client = saa7111_detach_client, |
diff --git a/drivers/media/video/saa7114.c b/drivers/media/video/saa7114.c index d9f50e2f7b92..4748cf0598c0 100644 --- a/drivers/media/video/saa7114.c +++ b/drivers/media/video/saa7114.c | |||
@@ -1208,7 +1208,6 @@ static struct i2c_driver i2c_driver_saa7114 = { | |||
1208 | .name = "saa7114", | 1208 | .name = "saa7114", |
1209 | 1209 | ||
1210 | .id = I2C_DRIVERID_SAA7114, | 1210 | .id = I2C_DRIVERID_SAA7114, |
1211 | .flags = I2C_DF_NOTIFY, | ||
1212 | 1211 | ||
1213 | .attach_adapter = saa7114_attach_adapter, | 1212 | .attach_adapter = saa7114_attach_adapter, |
1214 | .detach_client = saa7114_detach_client, | 1213 | .detach_client = saa7114_detach_client, |
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index e717e30d8187..b1079de938b7 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1356,7 +1356,6 @@ static int saa7115_detach(struct i2c_client *client) | |||
1356 | static struct i2c_driver i2c_driver_saa7115 = { | 1356 | static struct i2c_driver i2c_driver_saa7115 = { |
1357 | .name = "saa7115", | 1357 | .name = "saa7115", |
1358 | .id = I2C_DRIVERID_SAA711X, | 1358 | .id = I2C_DRIVERID_SAA711X, |
1359 | .flags = I2C_DF_NOTIFY, | ||
1360 | .attach_adapter = saa7115_probe, | 1359 | .attach_adapter = saa7115_probe, |
1361 | .detach_client = saa7115_detach, | 1360 | .detach_client = saa7115_detach, |
1362 | .command = saa7115_command, | 1361 | .command = saa7115_command, |
diff --git a/drivers/media/video/saa711x.c b/drivers/media/video/saa711x.c index 31f7b950b01c..734a70919080 100644 --- a/drivers/media/video/saa711x.c +++ b/drivers/media/video/saa711x.c | |||
@@ -569,7 +569,6 @@ static struct i2c_driver i2c_driver_saa711x = { | |||
569 | .name = "saa711x", | 569 | .name = "saa711x", |
570 | 570 | ||
571 | .id = I2C_DRIVERID_SAA711X, | 571 | .id = I2C_DRIVERID_SAA711X, |
572 | .flags = I2C_DF_NOTIFY, | ||
573 | 572 | ||
574 | .attach_adapter = saa711x_attach_adapter, | 573 | .attach_adapter = saa711x_attach_adapter, |
575 | .detach_client = saa711x_detach_client, | 574 | .detach_client = saa711x_detach_client, |
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index c36f014f1fdf..a2fab9837507 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c | |||
@@ -821,7 +821,6 @@ static int saa7127_detach(struct i2c_client *client) | |||
821 | static struct i2c_driver i2c_driver_saa7127 = { | 821 | static struct i2c_driver i2c_driver_saa7127 = { |
822 | .name = "saa7127", | 822 | .name = "saa7127", |
823 | .id = I2C_DRIVERID_SAA7127, | 823 | .id = I2C_DRIVERID_SAA7127, |
824 | .flags = I2C_DF_NOTIFY, | ||
825 | .attach_adapter = saa7127_probe, | 824 | .attach_adapter = saa7127_probe, |
826 | .detach_client = saa7127_detach, | 825 | .detach_client = saa7127_detach, |
827 | .command = saa7127_command, | 826 | .command = saa7127_command, |
diff --git a/drivers/media/video/saa7134/saa6752hs.c b/drivers/media/video/saa7134/saa6752hs.c index a61d24f588f7..6fc298e0a03a 100644 --- a/drivers/media/video/saa7134/saa6752hs.c +++ b/drivers/media/video/saa7134/saa6752hs.c | |||
@@ -600,7 +600,6 @@ static struct i2c_driver driver = { | |||
600 | .owner = THIS_MODULE, | 600 | .owner = THIS_MODULE, |
601 | .name = "i2c saa6752hs MPEG encoder", | 601 | .name = "i2c saa6752hs MPEG encoder", |
602 | .id = I2C_DRIVERID_SAA6752HS, | 602 | .id = I2C_DRIVERID_SAA6752HS, |
603 | .flags = I2C_DF_NOTIFY, | ||
604 | .attach_adapter = saa6752hs_probe, | 603 | .attach_adapter = saa6752hs_probe, |
605 | .detach_client = saa6752hs_detach, | 604 | .detach_client = saa6752hs_detach, |
606 | .command = saa6752hs_command, | 605 | .command = saa6752hs_command, |
diff --git a/drivers/media/video/saa7185.c b/drivers/media/video/saa7185.c index 132aa7943c16..e24aa16f2d8c 100644 --- a/drivers/media/video/saa7185.c +++ b/drivers/media/video/saa7185.c | |||
@@ -491,7 +491,6 @@ static struct i2c_driver i2c_driver_saa7185 = { | |||
491 | .name = "saa7185", /* name */ | 491 | .name = "saa7185", /* name */ |
492 | 492 | ||
493 | .id = I2C_DRIVERID_SAA7185B, | 493 | .id = I2C_DRIVERID_SAA7185B, |
494 | .flags = I2C_DF_NOTIFY, | ||
495 | 494 | ||
496 | .attach_adapter = saa7185_attach_adapter, | 495 | .attach_adapter = saa7185_attach_adapter, |
497 | .detach_client = saa7185_detach_client, | 496 | .detach_client = saa7185_detach_client, |
diff --git a/drivers/media/video/saa7191.c b/drivers/media/video/saa7191.c index cbca896e8cfa..6be98fc0fe24 100644 --- a/drivers/media/video/saa7191.c +++ b/drivers/media/video/saa7191.c | |||
@@ -791,7 +791,6 @@ static struct i2c_driver i2c_driver_saa7191 = { | |||
791 | .owner = THIS_MODULE, | 791 | .owner = THIS_MODULE, |
792 | .name = "saa7191", | 792 | .name = "saa7191", |
793 | .id = I2C_DRIVERID_SAA7191, | 793 | .id = I2C_DRIVERID_SAA7191, |
794 | .flags = I2C_DF_NOTIFY, | ||
795 | .attach_adapter = saa7191_probe, | 794 | .attach_adapter = saa7191_probe, |
796 | .detach_client = saa7191_detach, | 795 | .detach_client = saa7191_detach, |
797 | .command = saa7191_command | 796 | .command = saa7191_command |
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c index d32737dd2142..239a58666a12 100644 --- a/drivers/media/video/tda7432.c +++ b/drivers/media/video/tda7432.c | |||
@@ -504,7 +504,6 @@ static struct i2c_driver driver = { | |||
504 | .owner = THIS_MODULE, | 504 | .owner = THIS_MODULE, |
505 | .name = "i2c tda7432 driver", | 505 | .name = "i2c tda7432 driver", |
506 | .id = I2C_DRIVERID_TDA7432, | 506 | .id = I2C_DRIVERID_TDA7432, |
507 | .flags = I2C_DF_NOTIFY, | ||
508 | .attach_adapter = tda7432_probe, | 507 | .attach_adapter = tda7432_probe, |
509 | .detach_client = tda7432_detach, | 508 | .detach_client = tda7432_detach, |
510 | .command = tda7432_command, | 509 | .command = tda7432_command, |
diff --git a/drivers/media/video/tda9840.c b/drivers/media/video/tda9840.c index 1794686612c6..f29fb507075d 100644 --- a/drivers/media/video/tda9840.c +++ b/drivers/media/video/tda9840.c | |||
@@ -224,7 +224,6 @@ static struct i2c_driver driver = { | |||
224 | .owner = THIS_MODULE, | 224 | .owner = THIS_MODULE, |
225 | .name = "tda9840", | 225 | .name = "tda9840", |
226 | .id = I2C_DRIVERID_TDA9840, | 226 | .id = I2C_DRIVERID_TDA9840, |
227 | .flags = I2C_DF_NOTIFY, | ||
228 | .attach_adapter = attach, | 227 | .attach_adapter = attach, |
229 | .detach_client = detach, | 228 | .detach_client = detach, |
230 | .command = command, | 229 | .command = command, |
diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c index a5e37dc91f39..d053b6445502 100644 --- a/drivers/media/video/tda9875.c +++ b/drivers/media/video/tda9875.c | |||
@@ -375,7 +375,6 @@ static struct i2c_driver driver = { | |||
375 | .owner = THIS_MODULE, | 375 | .owner = THIS_MODULE, |
376 | .name = "i2c tda9875 driver", | 376 | .name = "i2c tda9875 driver", |
377 | .id = I2C_DRIVERID_TDA9875, | 377 | .id = I2C_DRIVERID_TDA9875, |
378 | .flags = I2C_DF_NOTIFY, | ||
379 | .attach_adapter = tda9875_probe, | 378 | .attach_adapter = tda9875_probe, |
380 | .detach_client = tda9875_detach, | 379 | .detach_client = tda9875_detach, |
381 | .command = tda9875_command, | 380 | .command = tda9875_command, |
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 2f2414e90e8b..049b44e0767b 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -822,7 +822,6 @@ static struct i2c_driver driver = { | |||
822 | .owner = THIS_MODULE, | 822 | .owner = THIS_MODULE, |
823 | .name = "i2c tda9887 driver", | 823 | .name = "i2c tda9887 driver", |
824 | .id = -1, /* FIXME */ | 824 | .id = -1, /* FIXME */ |
825 | .flags = I2C_DF_NOTIFY, | ||
826 | .attach_adapter = tda9887_probe, | 825 | .attach_adapter = tda9887_probe, |
827 | .detach_client = tda9887_detach, | 826 | .detach_client = tda9887_detach, |
828 | .command = tda9887_command, | 827 | .command = tda9887_command, |
diff --git a/drivers/media/video/tea6415c.c b/drivers/media/video/tea6415c.c index ee3688348b66..96d88ce60c98 100644 --- a/drivers/media/video/tea6415c.c +++ b/drivers/media/video/tea6415c.c | |||
@@ -193,7 +193,6 @@ static struct i2c_driver driver = { | |||
193 | .owner = THIS_MODULE, | 193 | .owner = THIS_MODULE, |
194 | .name = "tea6415c", | 194 | .name = "tea6415c", |
195 | .id = I2C_DRIVERID_TEA6415C, | 195 | .id = I2C_DRIVERID_TEA6415C, |
196 | .flags = I2C_DF_NOTIFY, | ||
197 | .attach_adapter = attach, | 196 | .attach_adapter = attach, |
198 | .detach_client = detach, | 197 | .detach_client = detach, |
199 | .command = command, | 198 | .command = command, |
diff --git a/drivers/media/video/tea6420.c b/drivers/media/video/tea6420.c index 17975c19da5e..fd417de95847 100644 --- a/drivers/media/video/tea6420.c +++ b/drivers/media/video/tea6420.c | |||
@@ -170,7 +170,6 @@ static struct i2c_driver driver = { | |||
170 | .owner = THIS_MODULE, | 170 | .owner = THIS_MODULE, |
171 | .name = "tea6420", | 171 | .name = "tea6420", |
172 | .id = I2C_DRIVERID_TEA6420, | 172 | .id = I2C_DRIVERID_TEA6420, |
173 | .flags = I2C_DF_NOTIFY, | ||
174 | .attach_adapter = attach, | 173 | .attach_adapter = attach, |
175 | .detach_client = detach, | 174 | .detach_client = detach, |
176 | .command = command, | 175 | .command = command, |
diff --git a/drivers/media/video/tuner-3036.c b/drivers/media/video/tuner-3036.c index 79203595b9c1..3505cec2e65a 100644 --- a/drivers/media/video/tuner-3036.c +++ b/drivers/media/video/tuner-3036.c | |||
@@ -178,7 +178,6 @@ i2c_driver_tuner = | |||
178 | .owner = THIS_MODULE, | 178 | .owner = THIS_MODULE, |
179 | .name = "sab3036", | 179 | .name = "sab3036", |
180 | .id = I2C_DRIVERID_SAB3036, | 180 | .id = I2C_DRIVERID_SAB3036, |
181 | .flags = I2C_DF_NOTIFY, | ||
182 | .attach_adapter = tuner_probe, | 181 | .attach_adapter = tuner_probe, |
183 | .detach_client = tuner_detach, | 182 | .detach_client = tuner_detach, |
184 | .command = tuner_command | 183 | .command = tuner_command |
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index e58abdfcaab8..3c75121f6383 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -745,7 +745,6 @@ static struct i2c_driver driver = { | |||
745 | .owner = THIS_MODULE, | 745 | .owner = THIS_MODULE, |
746 | .name = "tuner", | 746 | .name = "tuner", |
747 | .id = I2C_DRIVERID_TUNER, | 747 | .id = I2C_DRIVERID_TUNER, |
748 | .flags = I2C_DF_NOTIFY, | ||
749 | .attach_adapter = tuner_probe, | 748 | .attach_adapter = tuner_probe, |
750 | .detach_client = tuner_detach, | 749 | .detach_client = tuner_detach, |
751 | .command = tuner_command, | 750 | .command = tuner_command, |
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 5b20e8177cad..3565f35be7a1 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -1705,7 +1705,6 @@ static struct i2c_driver driver = { | |||
1705 | .owner = THIS_MODULE, | 1705 | .owner = THIS_MODULE, |
1706 | .name = "generic i2c audio driver", | 1706 | .name = "generic i2c audio driver", |
1707 | .id = I2C_DRIVERID_TVAUDIO, | 1707 | .id = I2C_DRIVERID_TVAUDIO, |
1708 | .flags = I2C_DF_NOTIFY, | ||
1709 | .attach_adapter = chip_probe, | 1708 | .attach_adapter = chip_probe, |
1710 | .detach_client = chip_detach, | 1709 | .detach_client = chip_detach, |
1711 | .command = chip_command, | 1710 | .command = chip_command, |
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index 5ac235365dd8..195bc51d4576 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -782,7 +782,6 @@ static struct i2c_driver i2c_driver_tveeprom = { | |||
782 | .owner = THIS_MODULE, | 782 | .owner = THIS_MODULE, |
783 | .name = "tveeprom", | 783 | .name = "tveeprom", |
784 | .id = I2C_DRIVERID_TVEEPROM, | 784 | .id = I2C_DRIVERID_TVEEPROM, |
785 | .flags = I2C_DF_NOTIFY, | ||
786 | .attach_adapter = tveeprom_attach_adapter, | 785 | .attach_adapter = tveeprom_attach_adapter, |
787 | .detach_client = tveeprom_detach_client, | 786 | .detach_client = tveeprom_detach_client, |
788 | .command = tveeprom_command, | 787 | .command = tveeprom_command, |
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c index 5897e5d4d3d2..936e01d2c785 100644 --- a/drivers/media/video/tvmixer.c +++ b/drivers/media/video/tvmixer.c | |||
@@ -232,7 +232,6 @@ static struct i2c_driver driver = { | |||
232 | #endif | 232 | #endif |
233 | .name = "tv card mixer driver", | 233 | .name = "tv card mixer driver", |
234 | .id = I2C_DRIVERID_TVMIXER, | 234 | .id = I2C_DRIVERID_TVMIXER, |
235 | .flags = I2C_DF_NOTIFY, | ||
236 | .detach_adapter = tvmixer_adapters, | 235 | .detach_adapter = tvmixer_adapters, |
237 | .attach_adapter = tvmixer_adapters, | 236 | .attach_adapter = tvmixer_adapters, |
238 | .detach_client = tvmixer_clients, | 237 | .detach_client = tvmixer_clients, |
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index 97431e26d229..4f3ee2091611 100644 --- a/drivers/media/video/tvp5150.c +++ b/drivers/media/video/tvp5150.c | |||
@@ -806,7 +806,6 @@ static struct i2c_driver driver = { | |||
806 | 806 | ||
807 | /* FIXME */ | 807 | /* FIXME */ |
808 | .id = I2C_DRIVERID_SAA7110, | 808 | .id = I2C_DRIVERID_SAA7110, |
809 | .flags = I2C_DF_NOTIFY, | ||
810 | 809 | ||
811 | .attach_adapter = tvp5150_attach_adapter, | 810 | .attach_adapter = tvp5150_attach_adapter, |
812 | .detach_client = tvp5150_detach_client, | 811 | .detach_client = tvp5150_detach_client, |
diff --git a/drivers/media/video/vpx3220.c b/drivers/media/video/vpx3220.c index 137b58f2c666..c66d28505bcd 100644 --- a/drivers/media/video/vpx3220.c +++ b/drivers/media/video/vpx3220.c | |||
@@ -726,7 +726,6 @@ static struct i2c_driver vpx3220_i2c_driver = { | |||
726 | .name = "vpx3220", | 726 | .name = "vpx3220", |
727 | 727 | ||
728 | .id = I2C_DRIVERID_VPX3220, | 728 | .id = I2C_DRIVERID_VPX3220, |
729 | .flags = I2C_DF_NOTIFY, | ||
730 | 729 | ||
731 | .attach_adapter = vpx3220_attach_adapter, | 730 | .attach_adapter = vpx3220_attach_adapter, |
732 | .detach_client = vpx3220_detach_client, | 731 | .detach_client = vpx3220_detach_client, |
diff --git a/drivers/media/video/wm8775.c b/drivers/media/video/wm8775.c index a6936ad74fcf..7b07717a3c67 100644 --- a/drivers/media/video/wm8775.c +++ b/drivers/media/video/wm8775.c | |||
@@ -236,7 +236,6 @@ static struct i2c_driver i2c_driver = { | |||
236 | .name = "wm8775", | 236 | .name = "wm8775", |
237 | 237 | ||
238 | .id = I2C_DRIVERID_WM8775, | 238 | .id = I2C_DRIVERID_WM8775, |
239 | .flags = I2C_DF_NOTIFY, | ||
240 | 239 | ||
241 | .attach_adapter = wm8775_probe, | 240 | .attach_adapter = wm8775_probe, |
242 | .detach_client = wm8775_detach, | 241 | .detach_client = wm8775_detach, |
diff --git a/drivers/video/matrox/matroxfb_maven.c b/drivers/video/matrox/matroxfb_maven.c index ad60bbb16cdf..78994c5fe932 100644 --- a/drivers/video/matrox/matroxfb_maven.c +++ b/drivers/video/matrox/matroxfb_maven.c | |||
@@ -1296,7 +1296,6 @@ static struct i2c_driver maven_driver={ | |||
1296 | .owner = THIS_MODULE, | 1296 | .owner = THIS_MODULE, |
1297 | .name = "maven", | 1297 | .name = "maven", |
1298 | .id = I2C_DRIVERID_MGATVO, | 1298 | .id = I2C_DRIVERID_MGATVO, |
1299 | .flags = I2C_DF_NOTIFY, | ||
1300 | .attach_adapter = maven_attach_adapter, | 1299 | .attach_adapter = maven_attach_adapter, |
1301 | .detach_client = maven_detach_client, | 1300 | .detach_client = maven_detach_client, |
1302 | .command = maven_command, | 1301 | .command = maven_command, |