[PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver()
[linux-3.10.git] / drivers / hwmon / vt8231.c
index d00a726d0239a6d620deb280022ea1b7b478fa72..3eb08f004c0f8d7332791c812c8cc2b09462a39b 100644 (file)
@@ -841,7 +841,7 @@ static int __devinit vt8231_pci_probe(struct pci_dev *dev,
 
 static int __init sm_vt8231_init(void)
 {
-       return pci_module_init(&vt8231_pci_driver);
+       return pci_register_driver(&vt8231_pci_driver);
 }
 
 static void __exit sm_vt8231_exit(void)