projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2320c47
)
powerpc: kernel: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:10 +0000
(16:20 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:10 +0000
(16:20 +0200)
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>
arch/powerpc/kernel/of_platform.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/of_platform.c
b/arch/powerpc/kernel/of_platform.c
index f87bc1b4bdda60c6bf68a966eb8496e9498da8b7..2f35a72642c63a1d999ae6a1a2cd4358e1804d24 100644
(file)
--- 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,
},
};