aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adt7475.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adt7475.c')
-rw-r--r--drivers/hwmon/adt7475.c13
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
1629static int __init sensors_adt7475_init(void) 1629module_i2c_driver(adt7475_driver);
1630{
1631 return i2c_add_driver(&adt7475_driver);
1632}
1633
1634static void __exit sensors_adt7475_exit(void)
1635{
1636 i2c_del_driver(&adt7475_driver);
1637}
1638 1630
1639MODULE_AUTHOR("Advanced Micro Devices, Inc"); 1631MODULE_AUTHOR("Advanced Micro Devices, Inc");
1640MODULE_DESCRIPTION("adt7475 driver"); 1632MODULE_DESCRIPTION("adt7475 driver");
1641MODULE_LICENSE("GPL"); 1633MODULE_LICENSE("GPL");
1642
1643module_init(sensors_adt7475_init);
1644module_exit(sensors_adt7475_exit);