[PATCH net-next] net: cavium: use module_pci_driver to simplify the code
Use the module_pci_driver() macro to make the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Wei Yongjun --- drivers/net/ethernet/cavium/common/cavium_ptp.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/net/ethernet/caviu
Re: [PATCH net-next] net: cavium: use module_pci_driver to simplify the code
From: Wei Yongjun Date: Wed, 28 Mar 2018 12:51:55 + > Use the module_pci_driver() macro to make the code simpler > by eliminating module_init and module_exit calls. > > Signed-off-by: Wei Yongjun Applied.