Re: [PATCH -next] PCI/IOV: use module_pci_driver to simplify the code

2020-09-17 Thread Bjorn Helgaas
On Thu, Sep 17, 2020 at 10:19:13AM -0700, Alexander Duyck wrote: > On Thu, Sep 17, 2020 at 9:56 AM Bjorn Helgaas wrote: > > > > [+cc Alexander] > > > > On Thu, Sep 17, 2020 at 03:10:42PM +0800, Liu Shixin wrote: > > > Use the module_pci_driver() macro to make the code simpler > > > by eliminating

Re: [PATCH -next] PCI/IOV: use module_pci_driver to simplify the code

2020-09-17 Thread Alexander Duyck
On Thu, Sep 17, 2020 at 9:56 AM Bjorn Helgaas wrote: > > [+cc Alexander] > > On Thu, Sep 17, 2020 at 03:10:42PM +0800, Liu Shixin wrote: > > Use the module_pci_driver() macro to make the code simpler > > by eliminating module_init and module_exit calls. > > > > Signed-off-by: Liu Shixin > > Appli

Re: [PATCH -next] PCI/IOV: use module_pci_driver to simplify the code

2020-09-17 Thread Bjorn Helgaas
[+cc Alexander] On Thu, Sep 17, 2020 at 03:10:42PM +0800, Liu Shixin wrote: > Use the module_pci_driver() macro to make the code simpler > by eliminating module_init and module_exit calls. > > Signed-off-by: Liu Shixin Applied to pci/misc for v5.10, thanks! > --- > drivers/pci/pci-pf-stub.c |