aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/adm1275.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/adm1275.c')
-rw-r--r--drivers/hwmon/pmbus/adm1275.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/hwmon/pmbus/adm1275.c b/drivers/hwmon/pmbus/adm1275.c
index 81c7c2ead6f3..fe52c3cf87ba 100644
--- a/drivers/hwmon/pmbus/adm1275.c
+++ b/drivers/hwmon/pmbus/adm1275.c
@@ -326,18 +326,8 @@ static struct i2c_driver adm1275_driver = {
326 .id_table = adm1275_id, 326 .id_table = adm1275_id,
327}; 327};
328 328
329static int __init adm1275_init(void) 329module_i2c_driver(adm1275_driver);
330{
331 return i2c_add_driver(&adm1275_driver);
332}
333
334static void __exit adm1275_exit(void)
335{
336 i2c_del_driver(&adm1275_driver);
337}
338 330
339MODULE_AUTHOR("Guenter Roeck"); 331MODULE_AUTHOR("Guenter Roeck");
340MODULE_DESCRIPTION("PMBus driver for Analog Devices ADM1275 and compatibles"); 332MODULE_DESCRIPTION("PMBus driver for Analog Devices ADM1275 and compatibles");
341MODULE_LICENSE("GPL"); 333MODULE_LICENSE("GPL");
342module_init(adm1275_init);
343module_exit(adm1275_exit);