diff options
Diffstat (limited to 'drivers/hwmon/atxp1.c')
-rw-r--r-- | drivers/hwmon/atxp1.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hwmon/atxp1.c b/drivers/hwmon/atxp1.c index 805e3b1b5621..e69036a51253 100644 --- a/drivers/hwmon/atxp1.c +++ b/drivers/hwmon/atxp1.c | |||
@@ -367,15 +367,4 @@ static int atxp1_remove(struct i2c_client *client) | |||
367 | return 0; | 367 | return 0; |
368 | }; | 368 | }; |
369 | 369 | ||
370 | static int __init atxp1_init(void) | 370 | module_i2c_driver(atxp1_driver); |
371 | { | ||
372 | return i2c_add_driver(&atxp1_driver); | ||
373 | }; | ||
374 | |||
375 | static void __exit atxp1_exit(void) | ||
376 | { | ||
377 | i2c_del_driver(&atxp1_driver); | ||
378 | }; | ||
379 | |||
380 | module_init(atxp1_init); | ||
381 | module_exit(atxp1_exit); | ||