aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ds620.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ds620.c')
-rw-r--r--drivers/hwmon/ds620.c13
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
300static int __init ds620_init(void) 300module_i2c_driver(ds620_driver);
301{
302 return i2c_add_driver(&ds620_driver);
303}
304
305static void __exit ds620_exit(void)
306{
307 i2c_del_driver(&ds620_driver);
308}
309 301
310MODULE_AUTHOR("Roland Stigge <stigge@antcom.de>"); 302MODULE_AUTHOR("Roland Stigge <stigge@antcom.de>");
311MODULE_DESCRIPTION("DS620 driver"); 303MODULE_DESCRIPTION("DS620 driver");
312MODULE_LICENSE("GPL"); 304MODULE_LICENSE("GPL");
313
314module_init(ds620_init);
315module_exit(ds620_exit);