From: Julia Lawall Date: Tue, 18 Nov 2014 16:18:20 +0000 (+0100) Subject: PCI: layerscape: Fix platform_no_drv_owner.cocci warnings X-Git-Tag: firefly_0821_release~176^2~2382^2~6^3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=80f6d910dc46f4df91a6f0a52d94e025c053987b;p=firefly-linux-kernel-4.4.55.git PCI: layerscape: Fix platform_no_drv_owner.cocci warnings 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 Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c index 6697b1a4d4fa..68c9e5e9b0a8 100644 --- 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, }, };