aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:16 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:16 -0400
commitb28af12d113ba8f301650f7487df32d439a8f741 (patch)
tree53b07ad7123ecae68eaeff7a1b395b5c4f5e9ee3
parentfe242ccbc0ba730e20091ebd7037730cc81112e1 (diff)
x86: platform: olpc: 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>
-rw-r--r--arch/x86/platform/olpc/olpc-xo1-pm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/platform/olpc/olpc-xo1-pm.c b/arch/x86/platform/olpc/olpc-xo1-pm.c
index a9acde72d4ed..c5350fd27d70 100644
--- 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)
170static struct platform_driver cs5535_pms_driver = { 170static struct platform_driver cs5535_pms_driver = {
171 .driver = { 171 .driver = {
172 .name = "cs5535-pms", 172 .name = "cs5535-pms",
173 .owner = THIS_MODULE,
174 }, 173 },
175 .probe = xo1_pm_probe, 174 .probe = xo1_pm_probe,
176 .remove = xo1_pm_remove, 175 .remove = xo1_pm_remove,
@@ -179,7 +178,6 @@ static struct platform_driver cs5535_pms_driver = {
179static struct platform_driver cs5535_acpi_driver = { 178static struct platform_driver cs5535_acpi_driver = {
180 .driver = { 179 .driver = {
181 .name = "olpc-xo1-pm-acpi", 180 .name = "olpc-xo1-pm-acpi",
182 .owner = THIS_MODULE,
183 }, 181 },
184 .probe = xo1_pm_probe, 182 .probe = xo1_pm_probe,
185 .remove = xo1_pm_remove, 183 .remove = xo1_pm_remove,