Commit 3de7cc99 authored by Christophe Lucas's avatar Christophe Lucas Committed by Greg Kroah-Hartman

[PATCH] drivers/w1/*: convert to pci_register_driver

convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).
Signed-off-by: default avatarChristophe Lucas <c.lucas@ifrance.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ff1ebf20
......@@ -235,7 +235,7 @@ static void __devexit matrox_w1_remove(struct pci_dev *pdev)
static int __init matrox_w1_init(void)
{
return pci_module_init(&matrox_w1_pci_driver);
return pci_register_driver(&matrox_w1_pci_driver);
}
static void __exit matrox_w1_fini(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment