summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:36 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:36 +0200
commitf271fbddfa3634fda9ea2baff047e128c9a18bf2 (patch)
treeaf9d14fdbb96644d908907ad07c42097058e07fa /drivers
parent14ac00e033c57983032993d3b7b3f70b16a9fdbd (diff)
downloadop-kernel-dev-f271fbddfa3634fda9ea2baff047e128c9a18bf2.zip
op-kernel-dev-f271fbddfa3634fda9ea2baff047e128c9a18bf2.tar.gz
spmi: 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 'drivers')
-rw-r--r--drivers/spmi/spmi-pmic-arb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c
index 246e03a..20559ab 100644
--- a/drivers/spmi/spmi-pmic-arb.c
+++ b/drivers/spmi/spmi-pmic-arb.c
@@ -768,7 +768,6 @@ static struct platform_driver spmi_pmic_arb_driver = {
.remove = spmi_pmic_arb_remove,
.driver = {
.name = "spmi_pmic_arb",
- .owner = THIS_MODULE,
.of_match_table = spmi_pmic_arb_match_table,
},
};
OpenPOWER on IntegriCloud