Re: [PATCH 13/28] pci: host: drop owner assignment from platform_drivers

2015-01-15 Thread Bjorn Helgaas
[+cc Julia]

On Sun, Dec 21, 2014 at 10:14:34PM +0100, Wolfram Sang wrote:
 This platform_driver does not need to set an owner, it will be populated by 
 the
 driver core.
 
 Signed-off-by: Wolfram Sang w...@the-dreams.de

I already applied the equivalent patch from Julia for v3.20, thanks!
(I know this is my fault because it took me so long to apply Julia's
patch.)

 ---
 Generated with coccinelle. SmPL file is in the introductory msg. The big
 cleanup was pulled in this merge window. This series catches the bits fallen
 through. The patches shall go in via the subsystem trees.
 
  drivers/pci/host/pci-layerscape.c | 1 -
  1 file changed, 1 deletion(-)
 
 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,
   },
  };
 -- 
 2.1.3
 
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 13/28] pci: host: drop owner assignment from platform_drivers

2014-12-21 Thread Wolfram Sang
This platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang w...@the-dreams.de
---
Generated with coccinelle. SmPL file is in the introductory msg. The big
cleanup was pulled in this merge window. This series catches the bits fallen
through. The patches shall go in via the subsystem trees.

 drivers/pci/host/pci-layerscape.c | 1 -
 1 file changed, 1 deletion(-)

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,
},
 };
-- 
2.1.3

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev