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:
fe242cc
)
x86: platform: olpc: drop owner assignment from platform_drivers
author
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:16 +0000
(16:20 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:16 +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/x86/platform/olpc/olpc-xo1-pm.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/platform/olpc/olpc-xo1-pm.c
b/arch/x86/platform/olpc/olpc-xo1-pm.c
index a9acde72d4ed9844b62c0ce87a5d441f21004ced..c5350fd27d709a0dbe1fbd0cfb954d111ca50608 100644
(file)
--- a/
arch/x86/platform/olpc/olpc-xo1-pm.c
+++ b/
arch/x86/platform/olpc/olpc-xo1-pm.c
@@
-170,7
+170,6
@@
static int xo1_pm_remove(struct platform_device *pdev)
static struct platform_driver cs5535_pms_driver = {
.driver = {
.name = "cs5535-pms",
- .owner = THIS_MODULE,
},
.probe = xo1_pm_probe,
.remove = xo1_pm_remove,
@@
-179,7
+178,6
@@
static struct platform_driver cs5535_pms_driver = {
static struct platform_driver cs5535_acpi_driver = {
.driver = {
.name = "olpc-xo1-pm-acpi",
- .owner = THIS_MODULE,
},
.probe = xo1_pm_probe,
.remove = xo1_pm_remove,