diff options
Diffstat (limited to 'drivers/hwmon/lm90.c')
-rw-r--r-- | drivers/hwmon/lm90.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index d2dd5f90496d..248f2b40dfaf 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c | |||
@@ -1514,19 +1514,8 @@ static struct i2c_driver lm90_driver = { | |||
1514 | .address_list = normal_i2c, | 1514 | .address_list = normal_i2c, |
1515 | }; | 1515 | }; |
1516 | 1516 | ||
1517 | static int __init sensors_lm90_init(void) | 1517 | module_i2c_driver(lm90_driver); |
1518 | { | ||
1519 | return i2c_add_driver(&lm90_driver); | ||
1520 | } | ||
1521 | |||
1522 | static void __exit sensors_lm90_exit(void) | ||
1523 | { | ||
1524 | i2c_del_driver(&lm90_driver); | ||
1525 | } | ||
1526 | 1518 | ||
1527 | MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); | 1519 | MODULE_AUTHOR("Jean Delvare <khali@linux-fr.org>"); |
1528 | MODULE_DESCRIPTION("LM90/ADM1032 driver"); | 1520 | MODULE_DESCRIPTION("LM90/ADM1032 driver"); |
1529 | MODULE_LICENSE("GPL"); | 1521 | MODULE_LICENSE("GPL"); |
1530 | |||
1531 | module_init(sensors_lm90_init); | ||
1532 | module_exit(sensors_lm90_exit); | ||