aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83792d.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/w83792d.c')
-rw-r--r--drivers/hwmon/w83792d.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c
index 0952a2cc0545..a87c4bd2eccf 100644
--- a/drivers/hwmon/w83792d.c
+++ b/drivers/hwmon/w83792d.c
@@ -1641,22 +1641,8 @@ static void w83792d_print_debug(struct w83792d_data *data, struct device *dev)
1641} 1641}
1642#endif 1642#endif
1643 1643
1644static int __init 1644module_i2c_driver(w83792d_driver);
1645sensors_w83792d_init(void)
1646{
1647 return i2c_add_driver(&w83792d_driver);
1648}
1649
1650static void __exit
1651sensors_w83792d_exit(void)
1652{
1653 i2c_del_driver(&w83792d_driver);
1654}
1655 1645
1656MODULE_AUTHOR("Chunhao Huang @ Winbond <DZShen@Winbond.com.tw>"); 1646MODULE_AUTHOR("Chunhao Huang @ Winbond <DZShen@Winbond.com.tw>");
1657MODULE_DESCRIPTION("W83792AD/D driver for linux-2.6"); 1647MODULE_DESCRIPTION("W83792AD/D driver for linux-2.6");
1658MODULE_LICENSE("GPL"); 1648MODULE_LICENSE("GPL");
1659
1660module_init(sensors_w83792d_init);
1661module_exit(sensors_w83792d_exit);
1662