diff options
Diffstat (limited to 'drivers/hwmon/w83792d.c')
-rw-r--r-- | drivers/hwmon/w83792d.c | 16 |
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 | ||
1644 | static int __init | 1644 | module_i2c_driver(w83792d_driver); |
1645 | sensors_w83792d_init(void) | ||
1646 | { | ||
1647 | return i2c_add_driver(&w83792d_driver); | ||
1648 | } | ||
1649 | |||
1650 | static void __exit | ||
1651 | sensors_w83792d_exit(void) | ||
1652 | { | ||
1653 | i2c_del_driver(&w83792d_driver); | ||
1654 | } | ||
1655 | 1645 | ||
1656 | MODULE_AUTHOR("Chunhao Huang @ Winbond <DZShen@Winbond.com.tw>"); | 1646 | MODULE_AUTHOR("Chunhao Huang @ Winbond <DZShen@Winbond.com.tw>"); |
1657 | MODULE_DESCRIPTION("W83792AD/D driver for linux-2.6"); | 1647 | MODULE_DESCRIPTION("W83792AD/D driver for linux-2.6"); |
1658 | MODULE_LICENSE("GPL"); | 1648 | MODULE_LICENSE("GPL"); |
1659 | |||
1660 | module_init(sensors_w83792d_init); | ||
1661 | module_exit(sensors_w83792d_exit); | ||
1662 | |||