aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-11-26 14:28:06 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-06 01:16:21 -0500
commit8a9947552d43b0d20d5fa23ac0ba435d526be454 (patch)
tree086844a62f549e488ebeecc196e1d4726a1d4598 /drivers/hwmon
parentff179c8cf5caa17bf3d407edbb5872aa2eee6900 (diff)
[PATCH] i2c: Drop i2c_driver.flags, 2 of 3
Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we can simply make it the default and drop the flag. If any driver really doesn't want to be notified when i2c adapters are added, that driver can simply omit to set .attach_adapter. This approach is also more robust as it prevents accidental NULL pointer dereferences. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/adm1021.c1
-rw-r--r--drivers/hwmon/adm1025.c1
-rw-r--r--drivers/hwmon/adm1026.c1
-rw-r--r--drivers/hwmon/adm1031.c1
-rw-r--r--drivers/hwmon/adm9240.c1
-rw-r--r--drivers/hwmon/asb100.c1
-rw-r--r--drivers/hwmon/atxp1.c1
-rw-r--r--drivers/hwmon/ds1621.c1
-rw-r--r--drivers/hwmon/fscher.c1
-rw-r--r--drivers/hwmon/fscpos.c1
-rw-r--r--drivers/hwmon/gl518sm.c1
-rw-r--r--drivers/hwmon/gl520sm.c1
-rw-r--r--drivers/hwmon/it87.c1
-rw-r--r--drivers/hwmon/lm63.c1
-rw-r--r--drivers/hwmon/lm75.c1
-rw-r--r--drivers/hwmon/lm77.c1
-rw-r--r--drivers/hwmon/lm78.c1
-rw-r--r--drivers/hwmon/lm80.c1
-rw-r--r--drivers/hwmon/lm83.c1
-rw-r--r--drivers/hwmon/lm85.c1
-rw-r--r--drivers/hwmon/lm87.c1
-rw-r--r--drivers/hwmon/lm90.c1
-rw-r--r--drivers/hwmon/lm92.c1
-rw-r--r--drivers/hwmon/max1619.c1
-rw-r--r--drivers/hwmon/w83781d.c1
-rw-r--r--drivers/hwmon/w83792d.c1
-rw-r--r--drivers/hwmon/w83l785ts.c1
27 files changed, 0 insertions, 27 deletions
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);
310static struct i2c_driver adm1026_driver = { 310static 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);
107static struct i2c_driver adm1031_driver = { 107static 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);
52static struct i2c_driver atxp1_driver = { 52static 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);
141static struct i2c_driver lm63_driver = { 141static 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);
76static struct i2c_driver lm77_driver = { 76static 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);
92static struct i2c_driver max1619_driver = { 92static 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);
319static struct i2c_driver w83792d_driver = { 319static 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};