diff options
Diffstat (limited to 'drivers/hwmon/amc6821.c')
-rw-r--r-- | drivers/hwmon/amc6821.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/hwmon/amc6821.c b/drivers/hwmon/amc6821.c index 4a4bfef3d976..5298855d4c43 100644 --- a/drivers/hwmon/amc6821.c +++ b/drivers/hwmon/amc6821.c | |||
@@ -1095,20 +1095,7 @@ static struct amc6821_data *amc6821_update_device(struct device *dev) | |||
1095 | return data; | 1095 | return data; |
1096 | } | 1096 | } |
1097 | 1097 | ||
1098 | 1098 | module_i2c_driver(amc6821_driver); | |
1099 | static int __init amc6821_init(void) | ||
1100 | { | ||
1101 | return i2c_add_driver(&amc6821_driver); | ||
1102 | } | ||
1103 | |||
1104 | static void __exit amc6821_exit(void) | ||
1105 | { | ||
1106 | i2c_del_driver(&amc6821_driver); | ||
1107 | } | ||
1108 | |||
1109 | module_init(amc6821_init); | ||
1110 | module_exit(amc6821_exit); | ||
1111 | |||
1112 | 1099 | ||
1113 | MODULE_LICENSE("GPL"); | 1100 | MODULE_LICENSE("GPL"); |
1114 | MODULE_AUTHOR("T. Mertelj <tomaz.mertelj@guest.arnes.si>"); | 1101 | MODULE_AUTHOR("T. Mertelj <tomaz.mertelj@guest.arnes.si>"); |