Hi everyone
Patch looks good to me, thank you
Greg, please pull it into your tree
Acked-by: Evgeniy Polyakov
07.07.2015, 09:55, "Vaishali Thakkar" :
> Use module_pci_driver for drivers whose init and exit functions
> only register and unregister, respectively.
> Signed-off-by: Vaishali Thakkar
Use module_pci_driver for drivers whose init and exit functions
only register and unregister, respectively.
A simplified version of the Coccinelle semantic patch that performs
this transformation is as follows:
@a@
identifier f, x;
@@
-static f(...) { return pci_register_driver(&x); }
@b depends
2 matches
Mail list logo