summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:10 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:10 +0200
commit21d9625180e953853257ffaec38f52200d8489f0 (patch)
tree9b964e850146b57c08f1aa5e1a88a2e61ca9ae57 /arch
parent2320c471aa8703d079debe2e68a5dd59dca0a5fc (diff)
downloadlinux-21d9625180e953853257ffaec38f52200d8489f0.tar.bz2
powerpc: kernel: 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 'arch')
-rw-r--r--arch/powerpc/kernel/of_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/of_platform.c b/arch/powerpc/kernel/of_platform.c
index f87bc1b4bdda..2f35a72642c6 100644
--- a/arch/powerpc/kernel/of_platform.c
+++ b/arch/powerpc/kernel/of_platform.c
@@ -110,7 +110,6 @@ static struct platform_driver of_pci_phb_driver = {
.probe = of_pci_phb_probe,
.driver = {
.name = "of-pci",
- .owner = THIS_MODULE,
.of_match_table = of_pci_phb_ids,
},
};