diff options
Diffstat (limited to 'drivers/hwmon/pmbus')
-rw-r--r-- | drivers/hwmon/pmbus/adm1275.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/lm25066.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/ltc2978.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/max16064.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/max34440.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/max8688.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/pmbus.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/ucd9000.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/ucd9200.c | 12 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/zl6100.c | 12 |
10 files changed, 10 insertions, 110 deletions
diff --git a/drivers/hwmon/pmbus/adm1275.c b/drivers/hwmon/pmbus/adm1275.c index 81c7c2ead6f3..fe52c3cf87ba 100644 --- a/drivers/hwmon/pmbus/adm1275.c +++ b/drivers/hwmon/pmbus/adm1275.c | |||
@@ -326,18 +326,8 @@ static struct i2c_driver adm1275_driver = { | |||
326 | .id_table = adm1275_id, | 326 | .id_table = adm1275_id, |
327 | }; | 327 | }; |
328 | 328 | ||
329 | static int __init adm1275_init(void) | 329 | module_i2c_driver(adm1275_driver); |
330 | { | ||
331 | return i2c_add_driver(&adm1275_driver); | ||
332 | } | ||
333 | |||
334 | static void __exit adm1275_exit(void) | ||
335 | { | ||
336 | i2c_del_driver(&adm1275_driver); | ||
337 | } | ||
338 | 330 | ||
339 | MODULE_AUTHOR("Guenter Roeck"); | 331 | MODULE_AUTHOR("Guenter Roeck"); |
340 | MODULE_DESCRIPTION("PMBus driver for Analog Devices ADM1275 and compatibles"); | 332 | MODULE_DESCRIPTION("PMBus driver for Analog Devices ADM1275 and compatibles"); |
341 | MODULE_LICENSE("GPL"); | 333 | MODULE_LICENSE("GPL"); |
342 | module_init(adm1275_init); | ||
343 | module_exit(adm1275_exit); | ||
diff --git a/drivers/hwmon/pmbus/lm25066.c b/drivers/hwmon/pmbus/lm25066.c index 84a37f0c8db6..86ac15ade6ab 100644 --- a/drivers/hwmon/pmbus/lm25066.c +++ b/drivers/hwmon/pmbus/lm25066.c | |||
@@ -334,18 +334,8 @@ static struct i2c_driver lm25066_driver = { | |||
334 | .id_table = lm25066_id, | 334 | .id_table = lm25066_id, |
335 | }; | 335 | }; |
336 | 336 | ||
337 | static int __init lm25066_init(void) | 337 | module_i2c_driver(lm25066_driver); |
338 | { | ||
339 | return i2c_add_driver(&lm25066_driver); | ||
340 | } | ||
341 | |||
342 | static void __exit lm25066_exit(void) | ||
343 | { | ||
344 | i2c_del_driver(&lm25066_driver); | ||
345 | } | ||
346 | 338 | ||
347 | MODULE_AUTHOR("Guenter Roeck"); | 339 | MODULE_AUTHOR("Guenter Roeck"); |
348 | MODULE_DESCRIPTION("PMBus driver for LM25066/LM5064/LM5066"); | 340 | MODULE_DESCRIPTION("PMBus driver for LM25066/LM5064/LM5066"); |
349 | MODULE_LICENSE("GPL"); | 341 | MODULE_LICENSE("GPL"); |
350 | module_init(lm25066_init); | ||
351 | module_exit(lm25066_exit); | ||
diff --git a/drivers/hwmon/pmbus/ltc2978.c b/drivers/hwmon/pmbus/ltc2978.c index 820fff48910b..c9e4dd20bf9c 100644 --- a/drivers/hwmon/pmbus/ltc2978.c +++ b/drivers/hwmon/pmbus/ltc2978.c | |||
@@ -391,18 +391,8 @@ static struct i2c_driver ltc2978_driver = { | |||
391 | .id_table = ltc2978_id, | 391 | .id_table = ltc2978_id, |
392 | }; | 392 | }; |
393 | 393 | ||
394 | static int __init ltc2978_init(void) | 394 | module_i2c_driver(ltc2978_driver); |
395 | { | ||
396 | return i2c_add_driver(<c2978_driver); | ||
397 | } | ||
398 | |||
399 | static void __exit ltc2978_exit(void) | ||
400 | { | ||
401 | i2c_del_driver(<c2978_driver); | ||
402 | } | ||
403 | 395 | ||
404 | MODULE_AUTHOR("Guenter Roeck"); | 396 | MODULE_AUTHOR("Guenter Roeck"); |
405 | MODULE_DESCRIPTION("PMBus driver for LTC2978 and LTC3880"); | 397 | MODULE_DESCRIPTION("PMBus driver for LTC2978 and LTC3880"); |
406 | MODULE_LICENSE("GPL"); | 398 | MODULE_LICENSE("GPL"); |
407 | module_init(ltc2978_init); | ||
408 | module_exit(ltc2978_exit); | ||
diff --git a/drivers/hwmon/pmbus/max16064.c b/drivers/hwmon/pmbus/max16064.c index 1d77cf4d2d44..5cfe20f1e030 100644 --- a/drivers/hwmon/pmbus/max16064.c +++ b/drivers/hwmon/pmbus/max16064.c | |||
@@ -126,18 +126,8 @@ static struct i2c_driver max16064_driver = { | |||
126 | .id_table = max16064_id, | 126 | .id_table = max16064_id, |
127 | }; | 127 | }; |
128 | 128 | ||
129 | static int __init max16064_init(void) | 129 | module_i2c_driver(max16064_driver); |
130 | { | ||
131 | return i2c_add_driver(&max16064_driver); | ||
132 | } | ||
133 | |||
134 | static void __exit max16064_exit(void) | ||
135 | { | ||
136 | i2c_del_driver(&max16064_driver); | ||
137 | } | ||
138 | 130 | ||
139 | MODULE_AUTHOR("Guenter Roeck"); | 131 | MODULE_AUTHOR("Guenter Roeck"); |
140 | MODULE_DESCRIPTION("PMBus driver for Maxim MAX16064"); | 132 | MODULE_DESCRIPTION("PMBus driver for Maxim MAX16064"); |
141 | MODULE_LICENSE("GPL"); | 133 | MODULE_LICENSE("GPL"); |
142 | module_init(max16064_init); | ||
143 | module_exit(max16064_exit); | ||
diff --git a/drivers/hwmon/pmbus/max34440.c b/drivers/hwmon/pmbus/max34440.c index 9b97a5b3cf3d..d9026f9ff13e 100644 --- a/drivers/hwmon/pmbus/max34440.c +++ b/drivers/hwmon/pmbus/max34440.c | |||
@@ -248,18 +248,8 @@ static struct i2c_driver max34440_driver = { | |||
248 | .id_table = max34440_id, | 248 | .id_table = max34440_id, |
249 | }; | 249 | }; |
250 | 250 | ||
251 | static int __init max34440_init(void) | 251 | module_i2c_driver(max34440_driver); |
252 | { | ||
253 | return i2c_add_driver(&max34440_driver); | ||
254 | } | ||
255 | |||
256 | static void __exit max34440_exit(void) | ||
257 | { | ||
258 | i2c_del_driver(&max34440_driver); | ||
259 | } | ||
260 | 252 | ||
261 | MODULE_AUTHOR("Guenter Roeck"); | 253 | MODULE_AUTHOR("Guenter Roeck"); |
262 | MODULE_DESCRIPTION("PMBus driver for Maxim MAX34440/MAX34441"); | 254 | MODULE_DESCRIPTION("PMBus driver for Maxim MAX34440/MAX34441"); |
263 | MODULE_LICENSE("GPL"); | 255 | MODULE_LICENSE("GPL"); |
264 | module_init(max34440_init); | ||
265 | module_exit(max34440_exit); | ||
diff --git a/drivers/hwmon/pmbus/max8688.c b/drivers/hwmon/pmbus/max8688.c index e2b74bb399ba..82c598d7cfa3 100644 --- a/drivers/hwmon/pmbus/max8688.c +++ b/drivers/hwmon/pmbus/max8688.c | |||
@@ -203,18 +203,8 @@ static struct i2c_driver max8688_driver = { | |||
203 | .id_table = max8688_id, | 203 | .id_table = max8688_id, |
204 | }; | 204 | }; |
205 | 205 | ||
206 | static int __init max8688_init(void) | 206 | module_i2c_driver(max8688_driver); |
207 | { | ||
208 | return i2c_add_driver(&max8688_driver); | ||
209 | } | ||
210 | |||
211 | static void __exit max8688_exit(void) | ||
212 | { | ||
213 | i2c_del_driver(&max8688_driver); | ||
214 | } | ||
215 | 207 | ||
216 | MODULE_AUTHOR("Guenter Roeck"); | 208 | MODULE_AUTHOR("Guenter Roeck"); |
217 | MODULE_DESCRIPTION("PMBus driver for Maxim MAX8688"); | 209 | MODULE_DESCRIPTION("PMBus driver for Maxim MAX8688"); |
218 | MODULE_LICENSE("GPL"); | 210 | MODULE_LICENSE("GPL"); |
219 | module_init(max8688_init); | ||
220 | module_exit(max8688_exit); | ||
diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c index 18a385e753d7..da5fe361a940 100644 --- a/drivers/hwmon/pmbus/pmbus.c +++ b/drivers/hwmon/pmbus/pmbus.c | |||
@@ -224,18 +224,8 @@ static struct i2c_driver pmbus_driver = { | |||
224 | .id_table = pmbus_id, | 224 | .id_table = pmbus_id, |
225 | }; | 225 | }; |
226 | 226 | ||
227 | static int __init pmbus_init(void) | 227 | module_i2c_driver(pmbus_driver); |
228 | { | ||
229 | return i2c_add_driver(&pmbus_driver); | ||
230 | } | ||
231 | |||
232 | static void __exit pmbus_exit(void) | ||
233 | { | ||
234 | i2c_del_driver(&pmbus_driver); | ||
235 | } | ||
236 | 228 | ||
237 | MODULE_AUTHOR("Guenter Roeck"); | 229 | MODULE_AUTHOR("Guenter Roeck"); |
238 | MODULE_DESCRIPTION("Generic PMBus driver"); | 230 | MODULE_DESCRIPTION("Generic PMBus driver"); |
239 | MODULE_LICENSE("GPL"); | 231 | MODULE_LICENSE("GPL"); |
240 | module_init(pmbus_init); | ||
241 | module_exit(pmbus_exit); | ||
diff --git a/drivers/hwmon/pmbus/ucd9000.c b/drivers/hwmon/pmbus/ucd9000.c index 4ff6cf289f85..759a563de636 100644 --- a/drivers/hwmon/pmbus/ucd9000.c +++ b/drivers/hwmon/pmbus/ucd9000.c | |||
@@ -258,18 +258,8 @@ static struct i2c_driver ucd9000_driver = { | |||
258 | .id_table = ucd9000_id, | 258 | .id_table = ucd9000_id, |
259 | }; | 259 | }; |
260 | 260 | ||
261 | static int __init ucd9000_init(void) | 261 | module_i2c_driver(ucd9000_driver); |
262 | { | ||
263 | return i2c_add_driver(&ucd9000_driver); | ||
264 | } | ||
265 | |||
266 | static void __exit ucd9000_exit(void) | ||
267 | { | ||
268 | i2c_del_driver(&ucd9000_driver); | ||
269 | } | ||
270 | 262 | ||
271 | MODULE_AUTHOR("Guenter Roeck"); | 263 | MODULE_AUTHOR("Guenter Roeck"); |
272 | MODULE_DESCRIPTION("PMBus driver for TI UCD90xxx"); | 264 | MODULE_DESCRIPTION("PMBus driver for TI UCD90xxx"); |
273 | MODULE_LICENSE("GPL"); | 265 | MODULE_LICENSE("GPL"); |
274 | module_init(ucd9000_init); | ||
275 | module_exit(ucd9000_exit); | ||
diff --git a/drivers/hwmon/pmbus/ucd9200.c b/drivers/hwmon/pmbus/ucd9200.c index 6e1c1a80ab85..629d0c93cac6 100644 --- a/drivers/hwmon/pmbus/ucd9200.c +++ b/drivers/hwmon/pmbus/ucd9200.c | |||
@@ -190,18 +190,8 @@ static struct i2c_driver ucd9200_driver = { | |||
190 | .id_table = ucd9200_id, | 190 | .id_table = ucd9200_id, |
191 | }; | 191 | }; |
192 | 192 | ||
193 | static int __init ucd9200_init(void) | 193 | module_i2c_driver(ucd9200_driver); |
194 | { | ||
195 | return i2c_add_driver(&ucd9200_driver); | ||
196 | } | ||
197 | |||
198 | static void __exit ucd9200_exit(void) | ||
199 | { | ||
200 | i2c_del_driver(&ucd9200_driver); | ||
201 | } | ||
202 | 194 | ||
203 | MODULE_AUTHOR("Guenter Roeck"); | 195 | MODULE_AUTHOR("Guenter Roeck"); |
204 | MODULE_DESCRIPTION("PMBus driver for TI UCD922x, UCD924x"); | 196 | MODULE_DESCRIPTION("PMBus driver for TI UCD922x, UCD924x"); |
205 | MODULE_LICENSE("GPL"); | 197 | MODULE_LICENSE("GPL"); |
206 | module_init(ucd9200_init); | ||
207 | module_exit(ucd9200_exit); | ||
diff --git a/drivers/hwmon/pmbus/zl6100.c b/drivers/hwmon/pmbus/zl6100.c index e3e8420b7b81..8ae658118bec 100644 --- a/drivers/hwmon/pmbus/zl6100.c +++ b/drivers/hwmon/pmbus/zl6100.c | |||
@@ -264,18 +264,8 @@ static struct i2c_driver zl6100_driver = { | |||
264 | .id_table = zl6100_id, | 264 | .id_table = zl6100_id, |
265 | }; | 265 | }; |
266 | 266 | ||
267 | static int __init zl6100_init(void) | 267 | module_i2c_driver(zl6100_driver); |
268 | { | ||
269 | return i2c_add_driver(&zl6100_driver); | ||
270 | } | ||
271 | |||
272 | static void __exit zl6100_exit(void) | ||
273 | { | ||
274 | i2c_del_driver(&zl6100_driver); | ||
275 | } | ||
276 | 268 | ||
277 | MODULE_AUTHOR("Guenter Roeck"); | 269 | MODULE_AUTHOR("Guenter Roeck"); |
278 | MODULE_DESCRIPTION("PMBus driver for ZL6100 and compatibles"); | 270 | MODULE_DESCRIPTION("PMBus driver for ZL6100 and compatibles"); |
279 | MODULE_LICENSE("GPL"); | 271 | MODULE_LICENSE("GPL"); |
280 | module_init(zl6100_init); | ||
281 | module_exit(zl6100_exit); | ||