* [PATCH] PCI: layerscape: fix platform_no_drv_owner.cocci warnings
@ 2014-11-18 16:18 Julia Lawall
2014-12-09 22:49 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2014-11-18 16:18 UTC (permalink / raw)
To: Minghuan Lian; +Cc: linux-pci, Bjorn Helgaas, kbuild, fengguang.wu
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(-)
--- 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,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] PCI: layerscape: fix platform_no_drv_owner.cocci warnings
2014-11-18 16:18 [PATCH] PCI: layerscape: fix platform_no_drv_owner.cocci warnings Julia Lawall
@ 2014-12-09 22:49 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2014-12-09 22:49 UTC (permalink / raw)
To: Julia Lawall; +Cc: Minghuan Lian, linux-pci, kbuild, fengguang.wu
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,
> },
> };
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-09 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 16:18 [PATCH] PCI: layerscape: fix platform_no_drv_owner.cocci warnings Julia Lawall
2014-12-09 22:49 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).