From: Wolfram Sang <wsa@the-dreams.de>
Date: Mon, 20 Oct 2014 14:20:18 +0000 (+0200)
Subject: atm: drop owner assignment from platform_drivers
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9add3339b9ebf0930bd6fb698c5b51e42f48de2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

atm: 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>
---

diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index d4725fc0395d..d5d9eafbbfcf 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -2687,7 +2687,6 @@ MODULE_DEVICE_TABLE(of, fore200e_sba_match);
 static struct platform_driver fore200e_sba_driver = {
 	.driver = {
 		.name = "fore_200e",
-		.owner = THIS_MODULE,
 		.of_match_table = fore200e_sba_match,
 	},
 	.probe		= fore200e_sba_probe,