diff options
Diffstat (limited to 'drivers/hwmon/adt7475.c')
-rw-r--r-- | drivers/hwmon/adt7475.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/adt7475.c b/drivers/hwmon/adt7475.c index a3b46924a15d..df29d13a5349 100644 --- a/drivers/hwmon/adt7475.c +++ b/drivers/hwmon/adt7475.c | |||
@@ -1626,19 +1626,8 @@ static struct adt7475_data *adt7475_update_device(struct device *dev) | |||
1626 | return data; | 1626 | return data; |
1627 | } | 1627 | } |
1628 | 1628 | ||
1629 | static int __init sensors_adt7475_init(void) | 1629 | module_i2c_driver(adt7475_driver); |
1630 | { | ||
1631 | return i2c_add_driver(&adt7475_driver); | ||
1632 | } | ||
1633 | |||
1634 | static void __exit sensors_adt7475_exit(void) | ||
1635 | { | ||
1636 | i2c_del_driver(&adt7475_driver); | ||
1637 | } | ||
1638 | 1630 | ||
1639 | MODULE_AUTHOR("Advanced Micro Devices, Inc"); | 1631 | MODULE_AUTHOR("Advanced Micro Devices, Inc"); |
1640 | MODULE_DESCRIPTION("adt7475 driver"); | 1632 | MODULE_DESCRIPTION("adt7475 driver"); |
1641 | MODULE_LICENSE("GPL"); | 1633 | MODULE_LICENSE("GPL"); |
1642 | |||
1643 | module_init(sensors_adt7475_init); | ||
1644 | module_exit(sensors_adt7475_exit); | ||