summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-host-generic.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:20 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:20 +0200
commite27a5130ab647aec2a70b800a690736d5b258007 (patch)
tree801190a255d5d42430ee083fb5f8a7ea76a79988 /drivers/pci/host/pci-host-generic.c
parent2422f7e4d1138a740f228bd4983815bf3b3254e4 (diff)
downloadblackbird-op-linux-e27a5130ab647aec2a70b800a690736d5b258007.tar.gz
blackbird-op-linux-e27a5130ab647aec2a70b800a690736d5b258007.zip
pci: host: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/pci/host/pci-host-generic.c')
-rw-r--r--drivers/pci/host/pci-host-generic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-host-generic.c b/drivers/pci/host/pci-host-generic.c
index 3d2076f59911..f0577bd9483a 100644
--- a/drivers/pci/host/pci-host-generic.c
+++ b/drivers/pci/host/pci-host-generic.c
@@ -376,7 +376,6 @@ static int gen_pci_probe(struct platform_device *pdev)
static struct platform_driver gen_pci_driver = {
.driver = {
.name = "pci-host-generic",
- .owner = THIS_MODULE,
.of_match_table = gen_pci_of_match,
},
.probe = gen_pci_probe,
OpenPOWER on IntegriCloud