diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-sis96x.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sis96x.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/i2c/busses/i2c-sis96x.c b/drivers/i2c/busses/i2c-sis96x.c index cc5d149413f7..7b72614a9bc0 100644 --- a/drivers/i2c/busses/i2c-sis96x.c +++ b/drivers/i2c/busses/i2c-sis96x.c | |||
@@ -324,21 +324,8 @@ static struct pci_driver sis96x_driver = { | |||
324 | .remove = __devexit_p(sis96x_remove), | 324 | .remove = __devexit_p(sis96x_remove), |
325 | }; | 325 | }; |
326 | 326 | ||
327 | static int __init i2c_sis96x_init(void) | 327 | module_pci_driver(sis96x_driver); |
328 | { | ||
329 | return pci_register_driver(&sis96x_driver); | ||
330 | } | ||
331 | |||
332 | static void __exit i2c_sis96x_exit(void) | ||
333 | { | ||
334 | pci_unregister_driver(&sis96x_driver); | ||
335 | } | ||
336 | 328 | ||
337 | MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); | 329 | MODULE_AUTHOR("Mark M. Hoffman <mhoffman@lightlink.com>"); |
338 | MODULE_DESCRIPTION("SiS96x SMBus driver"); | 330 | MODULE_DESCRIPTION("SiS96x SMBus driver"); |
339 | MODULE_LICENSE("GPL"); | 331 | MODULE_LICENSE("GPL"); |
340 | |||
341 | /* Register initialization functions using helper macros */ | ||
342 | module_init(i2c_sis96x_init); | ||
343 | module_exit(i2c_sis96x_exit); | ||
344 | |||