aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/asb100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/asb100.c')
-rw-r--r--drivers/hwmon/asb100.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c
index d7bd1f3f2a31..0f300c6b7f98 100644
--- a/drivers/hwmon/asb100.c
+++ b/drivers/hwmon/asb100.c
@@ -971,19 +971,8 @@ static struct asb100_data *asb100_update_device(struct device *dev)
971 return data; 971 return data;
972} 972}
973 973
974static int __init asb100_init(void) 974module_i2c_driver(asb100_driver);
975{
976 return i2c_add_driver(&asb100_driver);
977}
978
979static void __exit asb100_exit(void)
980{
981 i2c_del_driver(&asb100_driver);
982}
983 975
984MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); 976MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>");
985MODULE_DESCRIPTION("ASB100 Bach driver"); 977MODULE_DESCRIPTION("ASB100 Bach driver");
986MODULE_LICENSE("GPL"); 978MODULE_LICENSE("GPL");
987
988module_init(asb100_init);
989module_exit(asb100_exit);