diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-12-06 18:33:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-06 01:16:25 -0500 |
commit | 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 (patch) | |
tree | 04c095d45dfa892b7710e338724a1ac4f1da7cba /drivers/hwmon | |
parent | de59cf9ed44f64991e52a9de6094729537f0420c (diff) |
[PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed
Now that i2c_add_driver() doesn't need the module owner to be set by
hand, we can delete it from the drivers. This patch catches all of the
drivers that I found in the current tree (if a driver sets the .owner by
hand, it's not a problem, just not needed.)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon')
35 files changed, 0 insertions, 38 deletions
diff --git a/drivers/hwmon/adm1021.c b/drivers/hwmon/adm1021.c index 679cb92ccaf4..665612729cb9 100644 --- a/drivers/hwmon/adm1021.c +++ b/drivers/hwmon/adm1021.c | |||
@@ -127,7 +127,6 @@ static int read_only; | |||
127 | /* This is the driver that will be inserted */ | 127 | /* This is the driver that will be inserted */ |
128 | static struct i2c_driver adm1021_driver = { | 128 | static struct i2c_driver adm1021_driver = { |
129 | .driver = { | 129 | .driver = { |
130 | .owner = THIS_MODULE, | ||
131 | .name = "adm1021", | 130 | .name = "adm1021", |
132 | }, | 131 | }, |
133 | .id = I2C_DRIVERID_ADM1021, | 132 | .id = I2C_DRIVERID_ADM1021, |
diff --git a/drivers/hwmon/adm1025.c b/drivers/hwmon/adm1025.c index 3c70622c8cb1..9331c56d2ba6 100644 --- a/drivers/hwmon/adm1025.c +++ b/drivers/hwmon/adm1025.c | |||
@@ -119,7 +119,6 @@ static struct adm1025_data *adm1025_update_device(struct device *dev); | |||
119 | 119 | ||
120 | static struct i2c_driver adm1025_driver = { | 120 | static struct i2c_driver adm1025_driver = { |
121 | .driver = { | 121 | .driver = { |
122 | .owner = THIS_MODULE, | ||
123 | .name = "adm1025", | 122 | .name = "adm1025", |
124 | }, | 123 | }, |
125 | .id = I2C_DRIVERID_ADM1025, | 124 | .id = I2C_DRIVERID_ADM1025, |
diff --git a/drivers/hwmon/adm1026.c b/drivers/hwmon/adm1026.c index 92fac344d05b..fefe6e74fd02 100644 --- a/drivers/hwmon/adm1026.c +++ b/drivers/hwmon/adm1026.c | |||
@@ -309,7 +309,6 @@ static void adm1026_init_client(struct i2c_client *client); | |||
309 | 309 | ||
310 | static struct i2c_driver adm1026_driver = { | 310 | static struct i2c_driver adm1026_driver = { |
311 | .driver = { | 311 | .driver = { |
312 | .owner = THIS_MODULE, | ||
313 | .name = "adm1026", | 312 | .name = "adm1026", |
314 | }, | 313 | }, |
315 | .attach_adapter = adm1026_attach_adapter, | 314 | .attach_adapter = adm1026_attach_adapter, |
diff --git a/drivers/hwmon/adm1031.c b/drivers/hwmon/adm1031.c index e42d75e28804..d06397966081 100644 --- a/drivers/hwmon/adm1031.c +++ b/drivers/hwmon/adm1031.c | |||
@@ -106,7 +106,6 @@ static struct adm1031_data *adm1031_update_device(struct device *dev); | |||
106 | /* This is the driver that will be inserted */ | 106 | /* This is the driver that will be inserted */ |
107 | static struct i2c_driver adm1031_driver = { | 107 | static struct i2c_driver adm1031_driver = { |
108 | .driver = { | 108 | .driver = { |
109 | .owner = THIS_MODULE, | ||
110 | .name = "adm1031", | 109 | .name = "adm1031", |
111 | }, | 110 | }, |
112 | .attach_adapter = adm1031_attach_adapter, | 111 | .attach_adapter = adm1031_attach_adapter, |
diff --git a/drivers/hwmon/adm9240.c b/drivers/hwmon/adm9240.c index e60309e9726c..5ddc22fea4a3 100644 --- a/drivers/hwmon/adm9240.c +++ b/drivers/hwmon/adm9240.c | |||
@@ -138,7 +138,6 @@ static struct adm9240_data *adm9240_update_device(struct device *dev); | |||
138 | /* driver data */ | 138 | /* driver data */ |
139 | static struct i2c_driver adm9240_driver = { | 139 | static struct i2c_driver adm9240_driver = { |
140 | .driver = { | 140 | .driver = { |
141 | .owner = THIS_MODULE, | ||
142 | .name = "adm9240", | 141 | .name = "adm9240", |
143 | }, | 142 | }, |
144 | .id = I2C_DRIVERID_ADM9240, | 143 | .id = I2C_DRIVERID_ADM9240, |
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 3068de0dc728..ae9de63cf2e0 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c | |||
@@ -218,7 +218,6 @@ static void asb100_init_client(struct i2c_client *client); | |||
218 | 218 | ||
219 | static struct i2c_driver asb100_driver = { | 219 | static struct i2c_driver asb100_driver = { |
220 | .driver = { | 220 | .driver = { |
221 | .owner = THIS_MODULE, | ||
222 | .name = "asb100", | 221 | .name = "asb100", |
223 | }, | 222 | }, |
224 | .id = I2C_DRIVERID_ASB100, | 223 | .id = I2C_DRIVERID_ASB100, |
diff --git a/drivers/hwmon/atxp1.c b/drivers/hwmon/atxp1.c index ed152d939643..b0c490073c8e 100644 --- a/drivers/hwmon/atxp1.c +++ b/drivers/hwmon/atxp1.c | |||
@@ -51,7 +51,6 @@ static int atxp1_detect(struct i2c_adapter *adapter, int address, int kind); | |||
51 | 51 | ||
52 | static struct i2c_driver atxp1_driver = { | 52 | static struct i2c_driver atxp1_driver = { |
53 | .driver = { | 53 | .driver = { |
54 | .owner = THIS_MODULE, | ||
55 | .name = "atxp1", | 54 | .name = "atxp1", |
56 | }, | 55 | }, |
57 | .attach_adapter = atxp1_attach_adapter, | 56 | .attach_adapter = atxp1_attach_adapter, |
diff --git a/drivers/hwmon/ds1621.c b/drivers/hwmon/ds1621.c index 860094005c14..203f9c7abb20 100644 --- a/drivers/hwmon/ds1621.c +++ b/drivers/hwmon/ds1621.c | |||
@@ -90,7 +90,6 @@ static struct ds1621_data *ds1621_update_client(struct device *dev); | |||
90 | /* This is the driver that will be inserted */ | 90 | /* This is the driver that will be inserted */ |
91 | static struct i2c_driver ds1621_driver = { | 91 | static struct i2c_driver ds1621_driver = { |
92 | .driver = { | 92 | .driver = { |
93 | .owner = THIS_MODULE, | ||
94 | .name = "ds1621", | 93 | .name = "ds1621", |
95 | }, | 94 | }, |
96 | .id = I2C_DRIVERID_DS1621, | 95 | .id = I2C_DRIVERID_DS1621, |
diff --git a/drivers/hwmon/fscher.c b/drivers/hwmon/fscher.c index 982fff42ce94..25409181d1eb 100644 --- a/drivers/hwmon/fscher.c +++ b/drivers/hwmon/fscher.c | |||
@@ -119,7 +119,6 @@ static int fscher_write_value(struct i2c_client *client, u8 reg, u8 value); | |||
119 | 119 | ||
120 | static struct i2c_driver fscher_driver = { | 120 | static struct i2c_driver fscher_driver = { |
121 | .driver = { | 121 | .driver = { |
122 | .owner = THIS_MODULE, | ||
123 | .name = "fscher", | 122 | .name = "fscher", |
124 | }, | 123 | }, |
125 | .id = I2C_DRIVERID_FSCHER, | 124 | .id = I2C_DRIVERID_FSCHER, |
diff --git a/drivers/hwmon/fscpos.c b/drivers/hwmon/fscpos.c index 971146b92cc0..6d0146b57020 100644 --- a/drivers/hwmon/fscpos.c +++ b/drivers/hwmon/fscpos.c | |||
@@ -101,7 +101,6 @@ static void reset_fan_alarm(struct i2c_client *client, int nr); | |||
101 | */ | 101 | */ |
102 | static struct i2c_driver fscpos_driver = { | 102 | static struct i2c_driver fscpos_driver = { |
103 | .driver = { | 103 | .driver = { |
104 | .owner = THIS_MODULE, | ||
105 | .name = "fscpos", | 104 | .name = "fscpos", |
106 | }, | 105 | }, |
107 | .id = I2C_DRIVERID_FSCPOS, | 106 | .id = I2C_DRIVERID_FSCPOS, |
diff --git a/drivers/hwmon/gl518sm.c b/drivers/hwmon/gl518sm.c index 9c5ca1f467a9..9e685e3a3bc9 100644 --- a/drivers/hwmon/gl518sm.c +++ b/drivers/hwmon/gl518sm.c | |||
@@ -152,7 +152,6 @@ static struct gl518_data *gl518_update_device(struct device *dev); | |||
152 | /* This is the driver that will be inserted */ | 152 | /* This is the driver that will be inserted */ |
153 | static struct i2c_driver gl518_driver = { | 153 | static struct i2c_driver gl518_driver = { |
154 | .driver = { | 154 | .driver = { |
155 | .owner = THIS_MODULE, | ||
156 | .name = "gl518sm", | 155 | .name = "gl518sm", |
157 | }, | 156 | }, |
158 | .id = I2C_DRIVERID_GL518, | 157 | .id = I2C_DRIVERID_GL518, |
diff --git a/drivers/hwmon/gl520sm.c b/drivers/hwmon/gl520sm.c index a9a724a6f38a..baee60e44b52 100644 --- a/drivers/hwmon/gl520sm.c +++ b/drivers/hwmon/gl520sm.c | |||
@@ -110,7 +110,6 @@ static struct gl520_data *gl520_update_device(struct device *dev); | |||
110 | /* Driver data */ | 110 | /* Driver data */ |
111 | static struct i2c_driver gl520_driver = { | 111 | static struct i2c_driver gl520_driver = { |
112 | .driver = { | 112 | .driver = { |
113 | .owner = THIS_MODULE, | ||
114 | .name = "gl520sm", | 113 | .name = "gl520sm", |
115 | }, | 114 | }, |
116 | .id = I2C_DRIVERID_GL520, | 115 | .id = I2C_DRIVERID_GL520, |
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index 24d520bcc0b6..29b74a880eae 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -235,7 +235,6 @@ static void it87_init_client(struct i2c_client *client, struct it87_data *data); | |||
235 | 235 | ||
236 | static struct i2c_driver it87_driver = { | 236 | static struct i2c_driver it87_driver = { |
237 | .driver = { | 237 | .driver = { |
238 | .owner = THIS_MODULE, | ||
239 | .name = "it87", | 238 | .name = "it87", |
240 | }, | 239 | }, |
241 | .id = I2C_DRIVERID_IT87, | 240 | .id = I2C_DRIVERID_IT87, |
@@ -245,7 +244,6 @@ static struct i2c_driver it87_driver = { | |||
245 | 244 | ||
246 | static struct i2c_driver it87_isa_driver = { | 245 | static struct i2c_driver it87_isa_driver = { |
247 | .driver = { | 246 | .driver = { |
248 | .owner = THIS_MODULE, | ||
249 | .name = "it87-isa", | 247 | .name = "it87-isa", |
250 | }, | 248 | }, |
251 | .attach_adapter = it87_isa_attach_adapter, | 249 | .attach_adapter = it87_isa_attach_adapter, |
diff --git a/drivers/hwmon/lm63.c b/drivers/hwmon/lm63.c index 35baae742cff..6b1aa7ef552e 100644 --- a/drivers/hwmon/lm63.c +++ b/drivers/hwmon/lm63.c | |||
@@ -140,7 +140,6 @@ static void lm63_init_client(struct i2c_client *client); | |||
140 | 140 | ||
141 | static struct i2c_driver lm63_driver = { | 141 | static struct i2c_driver lm63_driver = { |
142 | .driver = { | 142 | .driver = { |
143 | .owner = THIS_MODULE, | ||
144 | .name = "lm63", | 143 | .name = "lm63", |
145 | }, | 144 | }, |
146 | .attach_adapter = lm63_attach_adapter, | 145 | .attach_adapter = lm63_attach_adapter, |
diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index db35fbf4d250..74ca2c8c61c3 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c | |||
@@ -67,7 +67,6 @@ static struct lm75_data *lm75_update_device(struct device *dev); | |||
67 | /* This is the driver that will be inserted */ | 67 | /* This is the driver that will be inserted */ |
68 | static struct i2c_driver lm75_driver = { | 68 | static struct i2c_driver lm75_driver = { |
69 | .driver = { | 69 | .driver = { |
70 | .owner = THIS_MODULE, | ||
71 | .name = "lm75", | 70 | .name = "lm75", |
72 | }, | 71 | }, |
73 | .id = I2C_DRIVERID_LM75, | 72 | .id = I2C_DRIVERID_LM75, |
diff --git a/drivers/hwmon/lm77.c b/drivers/hwmon/lm77.c index 177072056d7d..a2f420d01fb7 100644 --- a/drivers/hwmon/lm77.c +++ b/drivers/hwmon/lm77.c | |||
@@ -75,7 +75,6 @@ static struct lm77_data *lm77_update_device(struct device *dev); | |||
75 | /* This is the driver that will be inserted */ | 75 | /* This is the driver that will be inserted */ |
76 | static struct i2c_driver lm77_driver = { | 76 | static struct i2c_driver lm77_driver = { |
77 | .driver = { | 77 | .driver = { |
78 | .owner = THIS_MODULE, | ||
79 | .name = "lm77", | 78 | .name = "lm77", |
80 | }, | 79 | }, |
81 | .attach_adapter = lm77_attach_adapter, | 80 | .attach_adapter = lm77_attach_adapter, |
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 3af5b06995e0..e404001e20da 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c | |||
@@ -165,7 +165,6 @@ static void lm78_init_client(struct i2c_client *client); | |||
165 | 165 | ||
166 | static struct i2c_driver lm78_driver = { | 166 | static struct i2c_driver lm78_driver = { |
167 | .driver = { | 167 | .driver = { |
168 | .owner = THIS_MODULE, | ||
169 | .name = "lm78", | 168 | .name = "lm78", |
170 | }, | 169 | }, |
171 | .id = I2C_DRIVERID_LM78, | 170 | .id = I2C_DRIVERID_LM78, |
@@ -175,7 +174,6 @@ static struct i2c_driver lm78_driver = { | |||
175 | 174 | ||
176 | static struct i2c_driver lm78_isa_driver = { | 175 | static struct i2c_driver lm78_isa_driver = { |
177 | .driver = { | 176 | .driver = { |
178 | .owner = THIS_MODULE, | ||
179 | .name = "lm78-isa", | 177 | .name = "lm78-isa", |
180 | }, | 178 | }, |
181 | .attach_adapter = lm78_isa_attach_adapter, | 179 | .attach_adapter = lm78_isa_attach_adapter, |
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c index 1dc118f411a7..c9a7cdea7bd7 100644 --- a/drivers/hwmon/lm80.c +++ b/drivers/hwmon/lm80.c | |||
@@ -144,7 +144,6 @@ static int lm80_write_value(struct i2c_client *client, u8 reg, u8 value); | |||
144 | 144 | ||
145 | static struct i2c_driver lm80_driver = { | 145 | static struct i2c_driver lm80_driver = { |
146 | .driver = { | 146 | .driver = { |
147 | .owner = THIS_MODULE, | ||
148 | .name = "lm80", | 147 | .name = "lm80", |
149 | }, | 148 | }, |
150 | .id = I2C_DRIVERID_LM80, | 149 | .id = I2C_DRIVERID_LM80, |
diff --git a/drivers/hwmon/lm83.c b/drivers/hwmon/lm83.c index 1c1744f699fb..26dfa9e216c2 100644 --- a/drivers/hwmon/lm83.c +++ b/drivers/hwmon/lm83.c | |||
@@ -125,7 +125,6 @@ static struct lm83_data *lm83_update_device(struct device *dev); | |||
125 | 125 | ||
126 | static struct i2c_driver lm83_driver = { | 126 | static struct i2c_driver lm83_driver = { |
127 | .driver = { | 127 | .driver = { |
128 | .owner = THIS_MODULE, | ||
129 | .name = "lm83", | 128 | .name = "lm83", |
130 | }, | 129 | }, |
131 | .id = I2C_DRIVERID_LM83, | 130 | .id = I2C_DRIVERID_LM83, |
diff --git a/drivers/hwmon/lm85.c b/drivers/hwmon/lm85.c index b537c18c7a12..7389a0127547 100644 --- a/drivers/hwmon/lm85.c +++ b/drivers/hwmon/lm85.c | |||
@@ -381,7 +381,6 @@ static void lm85_init_client(struct i2c_client *client); | |||
381 | 381 | ||
382 | static struct i2c_driver lm85_driver = { | 382 | static struct i2c_driver lm85_driver = { |
383 | .driver = { | 383 | .driver = { |
384 | .owner = THIS_MODULE, | ||
385 | .name = "lm85", | 384 | .name = "lm85", |
386 | }, | 385 | }, |
387 | .id = I2C_DRIVERID_LM85, | 386 | .id = I2C_DRIVERID_LM85, |
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index 3152c006ce06..6ba34c302d8d 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -162,7 +162,6 @@ static struct lm87_data *lm87_update_device(struct device *dev); | |||
162 | 162 | ||
163 | static struct i2c_driver lm87_driver = { | 163 | static struct i2c_driver lm87_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .owner = THIS_MODULE, | ||
166 | .name = "lm87", | 165 | .name = "lm87", |
167 | }, | 166 | }, |
168 | .id = I2C_DRIVERID_LM87, | 167 | .id = I2C_DRIVERID_LM87, |
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index ff7ba1e1bcc7..5679464447cc 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c | |||
@@ -187,7 +187,6 @@ static struct lm90_data *lm90_update_device(struct device *dev); | |||
187 | 187 | ||
188 | static struct i2c_driver lm90_driver = { | 188 | static struct i2c_driver lm90_driver = { |
189 | .driver = { | 189 | .driver = { |
190 | .owner = THIS_MODULE, | ||
191 | .name = "lm90", | 190 | .name = "lm90", |
192 | }, | 191 | }, |
193 | .id = I2C_DRIVERID_LM90, | 192 | .id = I2C_DRIVERID_LM90, |
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c index b4e4a8409d01..b0c4cb730a7e 100644 --- a/drivers/hwmon/lm92.c +++ b/drivers/hwmon/lm92.c | |||
@@ -411,7 +411,6 @@ static int lm92_detach_client(struct i2c_client *client) | |||
411 | 411 | ||
412 | static struct i2c_driver lm92_driver = { | 412 | static struct i2c_driver lm92_driver = { |
413 | .driver = { | 413 | .driver = { |
414 | .owner = THIS_MODULE, | ||
415 | .name = "lm92", | 414 | .name = "lm92", |
416 | }, | 415 | }, |
417 | .id = I2C_DRIVERID_LM92, | 416 | .id = I2C_DRIVERID_LM92, |
diff --git a/drivers/hwmon/max1619.c b/drivers/hwmon/max1619.c index 1a50b13a62ae..3abe330b22ce 100644 --- a/drivers/hwmon/max1619.c +++ b/drivers/hwmon/max1619.c | |||
@@ -91,7 +91,6 @@ static struct max1619_data *max1619_update_device(struct device *dev); | |||
91 | 91 | ||
92 | static struct i2c_driver max1619_driver = { | 92 | static struct i2c_driver max1619_driver = { |
93 | .driver = { | 93 | .driver = { |
94 | .owner = THIS_MODULE, | ||
95 | .name = "max1619", | 94 | .name = "max1619", |
96 | }, | 95 | }, |
97 | .attach_adapter = max1619_attach_adapter, | 96 | .attach_adapter = max1619_attach_adapter, |
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c index 5469489c758a..f161e88e3bb6 100644 --- a/drivers/hwmon/pc87360.c +++ b/drivers/hwmon/pc87360.c | |||
@@ -237,7 +237,6 @@ static struct pc87360_data *pc87360_update_device(struct device *dev); | |||
237 | 237 | ||
238 | static struct i2c_driver pc87360_driver = { | 238 | static struct i2c_driver pc87360_driver = { |
239 | .driver = { | 239 | .driver = { |
240 | .owner = THIS_MODULE, | ||
241 | .name = "pc87360", | 240 | .name = "pc87360", |
242 | }, | 241 | }, |
243 | .attach_adapter = pc87360_detect, | 242 | .attach_adapter = pc87360_detect, |
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c index 9f44b93f3261..8be5189d9bd9 100644 --- a/drivers/hwmon/sis5595.c +++ b/drivers/hwmon/sis5595.c | |||
@@ -199,7 +199,6 @@ static void sis5595_init_client(struct i2c_client *client); | |||
199 | 199 | ||
200 | static struct i2c_driver sis5595_driver = { | 200 | static struct i2c_driver sis5595_driver = { |
201 | .driver = { | 201 | .driver = { |
202 | .owner = THIS_MODULE, | ||
203 | .name = "sis5595", | 202 | .name = "sis5595", |
204 | }, | 203 | }, |
205 | .attach_adapter = sis5595_detect, | 204 | .attach_adapter = sis5595_detect, |
diff --git a/drivers/hwmon/smsc47b397.c b/drivers/hwmon/smsc47b397.c index 02e5d55a2e2d..8663bbbe97f5 100644 --- a/drivers/hwmon/smsc47b397.c +++ b/drivers/hwmon/smsc47b397.c | |||
@@ -227,7 +227,6 @@ static int smsc47b397_detect(struct i2c_adapter *adapter); | |||
227 | 227 | ||
228 | static struct i2c_driver smsc47b397_driver = { | 228 | static struct i2c_driver smsc47b397_driver = { |
229 | .driver = { | 229 | .driver = { |
230 | .owner = THIS_MODULE, | ||
231 | .name = "smsc47b397", | 230 | .name = "smsc47b397", |
232 | }, | 231 | }, |
233 | .attach_adapter = smsc47b397_detect, | 232 | .attach_adapter = smsc47b397_detect, |
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c index b3051ad7b926..d1e3ec0fe4df 100644 --- a/drivers/hwmon/smsc47m1.c +++ b/drivers/hwmon/smsc47m1.c | |||
@@ -127,7 +127,6 @@ static struct smsc47m1_data *smsc47m1_update_device(struct device *dev, | |||
127 | 127 | ||
128 | static struct i2c_driver smsc47m1_driver = { | 128 | static struct i2c_driver smsc47m1_driver = { |
129 | .driver = { | 129 | .driver = { |
130 | .owner = THIS_MODULE, | ||
131 | .name = "smsc47m1", | 130 | .name = "smsc47m1", |
132 | }, | 131 | }, |
133 | .attach_adapter = smsc47m1_detect, | 132 | .attach_adapter = smsc47m1_detect, |
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c index db75fbccfb62..cb01848729b5 100644 --- a/drivers/hwmon/via686a.c +++ b/drivers/hwmon/via686a.c | |||
@@ -573,7 +573,6 @@ static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); | |||
573 | smbus_driver and isa_driver, and clients could be of either kind */ | 573 | smbus_driver and isa_driver, and clients could be of either kind */ |
574 | static struct i2c_driver via686a_driver = { | 574 | static struct i2c_driver via686a_driver = { |
575 | .driver = { | 575 | .driver = { |
576 | .owner = THIS_MODULE, | ||
577 | .name = "via686a", | 576 | .name = "via686a", |
578 | }, | 577 | }, |
579 | .attach_adapter = via686a_detect, | 578 | .attach_adapter = via686a_detect, |
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c index c2eb54b52073..d00a726d0239 100644 --- a/drivers/hwmon/vt8231.c +++ b/drivers/hwmon/vt8231.c | |||
@@ -586,7 +586,6 @@ static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL); | |||
586 | 586 | ||
587 | static struct i2c_driver vt8231_driver = { | 587 | static struct i2c_driver vt8231_driver = { |
588 | .driver = { | 588 | .driver = { |
589 | .owner = THIS_MODULE, | ||
590 | .name = "vt8231", | 589 | .name = "vt8231", |
591 | }, | 590 | }, |
592 | .attach_adapter = vt8231_detect, | 591 | .attach_adapter = vt8231_detect, |
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index 94538fb3ef1f..12d79f5e4900 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c | |||
@@ -786,7 +786,6 @@ static int w83627ehf_detach_client(struct i2c_client *client) | |||
786 | 786 | ||
787 | static struct i2c_driver w83627ehf_driver = { | 787 | static struct i2c_driver w83627ehf_driver = { |
788 | .driver = { | 788 | .driver = { |
789 | .owner = THIS_MODULE, | ||
790 | .name = "w83627ehf", | 789 | .name = "w83627ehf", |
791 | }, | 790 | }, |
792 | .attach_adapter = w83627ehf_detect, | 791 | .attach_adapter = w83627ehf_detect, |
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c index 2ffb84f9c6b7..7ea441d4da63 100644 --- a/drivers/hwmon/w83627hf.c +++ b/drivers/hwmon/w83627hf.c | |||
@@ -333,7 +333,6 @@ static void w83627hf_init_client(struct i2c_client *client); | |||
333 | 333 | ||
334 | static struct i2c_driver w83627hf_driver = { | 334 | static struct i2c_driver w83627hf_driver = { |
335 | .driver = { | 335 | .driver = { |
336 | .owner = THIS_MODULE, | ||
337 | .name = "w83627hf", | 336 | .name = "w83627hf", |
338 | }, | 337 | }, |
339 | .attach_adapter = w83627hf_detect, | 338 | .attach_adapter = w83627hf_detect, |
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index fd1a59c53630..557114872f3c 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -270,7 +270,6 @@ static void w83781d_init_client(struct i2c_client *client); | |||
270 | 270 | ||
271 | static struct i2c_driver w83781d_driver = { | 271 | static struct i2c_driver w83781d_driver = { |
272 | .driver = { | 272 | .driver = { |
273 | .owner = THIS_MODULE, | ||
274 | .name = "w83781d", | 273 | .name = "w83781d", |
275 | }, | 274 | }, |
276 | .id = I2C_DRIVERID_W83781D, | 275 | .id = I2C_DRIVERID_W83781D, |
@@ -280,7 +279,6 @@ static struct i2c_driver w83781d_driver = { | |||
280 | 279 | ||
281 | static struct i2c_driver w83781d_isa_driver = { | 280 | static struct i2c_driver w83781d_isa_driver = { |
282 | .driver = { | 281 | .driver = { |
283 | .owner = THIS_MODULE, | ||
284 | .name = "w83781d-isa", | 282 | .name = "w83781d-isa", |
285 | }, | 283 | }, |
286 | .attach_adapter = w83781d_isa_attach_adapter, | 284 | .attach_adapter = w83781d_isa_attach_adapter, |
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c index 9018445ac1bf..ff1c9f0abf93 100644 --- a/drivers/hwmon/w83792d.c +++ b/drivers/hwmon/w83792d.c | |||
@@ -318,7 +318,6 @@ static void w83792d_init_client(struct i2c_client *client); | |||
318 | 318 | ||
319 | static struct i2c_driver w83792d_driver = { | 319 | static struct i2c_driver w83792d_driver = { |
320 | .driver = { | 320 | .driver = { |
321 | .owner = THIS_MODULE, | ||
322 | .name = "w83792d", | 321 | .name = "w83792d", |
323 | }, | 322 | }, |
324 | .attach_adapter = w83792d_attach_adapter, | 323 | .attach_adapter = w83792d_attach_adapter, |
diff --git a/drivers/hwmon/w83l785ts.c b/drivers/hwmon/w83l785ts.c index fc9f202f2967..f66c0cfdeda7 100644 --- a/drivers/hwmon/w83l785ts.c +++ b/drivers/hwmon/w83l785ts.c | |||
@@ -93,7 +93,6 @@ static struct w83l785ts_data *w83l785ts_update_device(struct device *dev); | |||
93 | 93 | ||
94 | static struct i2c_driver w83l785ts_driver = { | 94 | static struct i2c_driver w83l785ts_driver = { |
95 | .driver = { | 95 | .driver = { |
96 | .owner = THIS_MODULE, | ||
97 | .name = "w83l785ts", | 96 | .name = "w83l785ts", |
98 | }, | 97 | }, |
99 | .id = I2C_DRIVERID_W83L785TS, | 98 | .id = I2C_DRIVERID_W83L785TS, |