Message ID | alpine.DEB.2.10.1411181717320.2543@hadrien (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
On Tue, Nov 18, 2014 at 05:18:20PM +0100, Julia Lawall wrote: > No need to set .owner here. The core will do it. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> Applied to next-pci/host-layerscape for v3.19, thanks. This branch will be rebased to v3.19-rc1 when it comes out. > --- > > pci-layerscape.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/pci/host/pci-layerscape.c > +++ b/drivers/pci/host/pci-layerscape.c > @@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match > static struct platform_driver ls_pcie_driver = { > .driver = { > .name = "layerscape-pcie", > - .owner = THIS_MODULE, > .of_match_table = ls_pcie_of_match, > }, > }; -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/drivers/pci/host/pci-layerscape.c +++ b/drivers/pci/host/pci-layerscape.c @@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match static struct platform_driver ls_pcie_driver = { .driver = { .name = "layerscape-pcie", - .owner = THIS_MODULE, .of_match_table = ls_pcie_of_match, }, };
No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> --- pci-layerscape.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html