diff options
Diffstat (limited to 'drivers/hwmon/ds620.c')
-rw-r--r-- | drivers/hwmon/ds620.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/ds620.c b/drivers/hwmon/ds620.c index 300c3d4d67df..50663efad412 100644 --- a/drivers/hwmon/ds620.c +++ b/drivers/hwmon/ds620.c | |||
@@ -297,19 +297,8 @@ static struct i2c_driver ds620_driver = { | |||
297 | .id_table = ds620_id, | 297 | .id_table = ds620_id, |
298 | }; | 298 | }; |
299 | 299 | ||
300 | static int __init ds620_init(void) | 300 | module_i2c_driver(ds620_driver); |
301 | { | ||
302 | return i2c_add_driver(&ds620_driver); | ||
303 | } | ||
304 | |||
305 | static void __exit ds620_exit(void) | ||
306 | { | ||
307 | i2c_del_driver(&ds620_driver); | ||
308 | } | ||
309 | 301 | ||
310 | MODULE_AUTHOR("Roland Stigge <stigge@antcom.de>"); | 302 | MODULE_AUTHOR("Roland Stigge <stigge@antcom.de>"); |
311 | MODULE_DESCRIPTION("DS620 driver"); | 303 | MODULE_DESCRIPTION("DS620 driver"); |
312 | MODULE_LICENSE("GPL"); | 304 | MODULE_LICENSE("GPL"); |
313 | |||
314 | module_init(ds620_init); | ||
315 | module_exit(ds620_exit); | ||