diff options
Diffstat (limited to 'drivers/hwmon/asb100.c')
-rw-r--r-- | drivers/hwmon/asb100.c | 13 |
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 | ||
974 | static int __init asb100_init(void) | 974 | module_i2c_driver(asb100_driver); |
975 | { | ||
976 | return i2c_add_driver(&asb100_driver); | ||
977 | } | ||
978 | |||
979 | static void __exit asb100_exit(void) | ||
980 | { | ||
981 | i2c_del_driver(&asb100_driver); | ||
982 | } | ||
983 | 975 | ||
984 | MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); | 976 | MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); |
985 | MODULE_DESCRIPTION("ASB100 Bach driver"); | 977 | MODULE_DESCRIPTION("ASB100 Bach driver"); |
986 | MODULE_LICENSE("GPL"); | 978 | MODULE_LICENSE("GPL"); |
987 | |||
988 | module_init(asb100_init); | ||
989 | module_exit(asb100_exit); | ||