summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/max16065.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/max16065.c')
-rw-r--r--drivers/hwmon/max16065.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/max16065.c b/drivers/hwmon/max16065.c
index f8e323ac6cb3..51edae93baa2 100644
--- a/drivers/hwmon/max16065.c
+++ b/drivers/hwmon/max16065.c
@@ -699,19 +699,8 @@ static struct i2c_driver max16065_driver = {
699 .id_table = max16065_id, 699 .id_table = max16065_id,
700}; 700};
701 701
702static int __init max16065_init(void) 702module_i2c_driver(max16065_driver);
703{
704 return i2c_add_driver(&max16065_driver);
705}
706
707static void __exit max16065_exit(void)
708{
709 i2c_del_driver(&max16065_driver);
710}
711 703
712MODULE_AUTHOR("Guenter Roeck <guenter.roeck@ericsson.com>"); 704MODULE_AUTHOR("Guenter Roeck <guenter.roeck@ericsson.com>");
713MODULE_DESCRIPTION("MAX16065 driver"); 705MODULE_DESCRIPTION("MAX16065 driver");
714MODULE_LICENSE("GPL"); 706MODULE_LICENSE("GPL");
715
716module_init(max16065_init);
717module_exit(max16065_exit);